You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:21:21 UTC
[jira] [Updated] (SPARK-12338) Support dropping duplicated rows on
selected columns in DataFrame in R style
[ https://issues.apache.org/jira/browse/SPARK-12338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon updated SPARK-12338:
---------------------------------
Labels: bulk-closed (was: )
> Support dropping duplicated rows on selected columns in DataFrame in R style
> ----------------------------------------------------------------------------
>
> Key: SPARK-12338
> URL: https://issues.apache.org/jira/browse/SPARK-12338
> Project: Spark
> Issue Type: New Feature
> Components: SparkR
> Affects Versions: 1.5.2
> Reporter: Sun Rui
> Priority: Major
> Labels: bulk-closed
>
> in R, unique() can drop duplicated rows on all columns. And something like
> {code}
> df[!duplicated(df[,c('x1', 'x2')]),]
> {code}
> is used to drop duplicated rows on selected columns. It's better that my can support duplicated(), and subsetting a DataFrame using the result of duplicated().
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org