allisonwang-db commented on code in PR #47234: URL: https://github.com/apache/spark/pull/47234#discussion_r1667010248
########## python/pyspark/sql/dataframe.py: ########## @@ -5948,6 +5948,29 @@ def drop_duplicates(self, *subset: Union[str, List[str]]) -> "DataFrame": .. versionchanged:: 4.0.0 Supports variable-length argument + + Examples Review Comment: We have two examples for `drop duplicates,` and I think we can add more examples there. Also cc @HyukjinKwon do we want to encourage users to use `drop_duplicates`? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org