You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sun Rui (JIRA)" <ji...@apache.org> on 2015/12/15 12:29:46 UTC

[jira] [Created] (SPARK-12338) Support dropping duplicated rows on selected columns in DataFrame in R style

Sun Rui created SPARK-12338:
-------------------------------

             Summary: 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


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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org