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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to