You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/05/03 08:17:06 UTC
[jira] [Commented] (SPARK-7324) Add DataFrame.dropDuplicates
[ https://issues.apache.org/jira/browse/SPARK-7324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14525686#comment-14525686 ]
Apache Spark commented on SPARK-7324:
-------------------------------------
User 'kaka1992' has created a pull request for this issue:
https://github.com/apache/spark/pull/5870
> Add DataFrame.dropDuplicates
> ----------------------------
>
> Key: SPARK-7324
> URL: https://issues.apache.org/jira/browse/SPARK-7324
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Reporter: Reynold Xin
>
> Similar to http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.drop_duplicates.html
> def dropDuplicates(): DataFrame
> def dropDuplicates(subset: Seq[String]): DataFrame
> We can turn this into groupBy(cols).agg(first(...))
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org