[ https://issues.apache.org/jira/browse/SPARK-7969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14569070#comment-14569070 ]
Mike Dusenberry commented on SPARK-7969: ---------------------------------------- Olivier, I submitted a solution for the underlying Scala API that contains a `drop` function that accepts a `Column` reference. It basically iterates through the `DataFrame` and looks for a column that has an expression that is equivalent to that of the `Column` argument passed in. Definitely interested in any thoughts you may have on it. > Drop method on Dataframes should handle Column > ---------------------------------------------- > > Key: SPARK-7969 > URL: https://issues.apache.org/jira/browse/SPARK-7969 > Project: Spark > Issue Type: Improvement > Components: PySpark, SQL > Affects Versions: 1.4.0 > Reporter: Olivier Girardot > Priority: Minor > > For now the drop method available on Dataframe since Spark 1.4.0 only accepts > a column name (as a string), it should also accept a Column as input. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org