-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-6876] [PySpark] [SQL] add DataFrame na.replace in pyspark #6003
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
toScalaMap?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sry I wasn't clear. I meant let's rename this to toScalaMap.
|
Merged build triggered. |
|
Merged build started. |
|
Test build #32215 has started for PR 6003 at commit |
|
Test build #32215 has finished for PR 6003 at commit
|
|
Merged build finished. Test FAILed. |
|
Test FAILed. |
|
Merged build triggered. |
|
Merged build started. |
|
Test build #32218 has started for PR 6003 at commit |
|
Test build #32218 has finished for PR 6003 at commit
|
|
Merged build finished. Test PASSed. |
|
Test PASSed. |
python/pyspark/sql/dataframe.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rename this _to_scala_map
|
Merged build triggered. |
|
Merged build started. |
|
Test build #32381 has started for PR 6003 at commit |
|
Test build #32381 has finished for PR 6003 at commit
|
|
Merged build finished. Test PASSed. |
|
Test PASSed. |
|
Thanks. I finally had time to review this in detail. A few things we need:
|
python/pyspark/sql/dataframe.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the error handling and input type checking are pretty nice!
|
Build triggered. |
|
Build started. |
|
Test build #32467 has started for PR 6003 at commit |
|
LGTM. Can you update it so it can merge cleanly with master? |
|
Test build #32467 has finished for PR 6003 at commit
|
|
Build finished. Test FAILed. |
|
Test FAILed. |
|
Merged build triggered. |
|
Merged build started. |
|
Test build #32469 has started for PR 6003 at commit |
|
Test build #32469 has finished for PR 6003 at commit
|
|
Merged build finished. Test FAILed. |
|
Test FAILed. |
|
Merged build triggered. |
|
Merged build started. |
|
Test build #32488 has started for PR 6003 at commit |
|
Test build #32488 has finished for PR 6003 at commit
|
|
Merged build finished. Test PASSed. |
|
Test PASSed. |
|
Thanks. Merging in! |
Author: Daoyuan Wang <[email protected]> Closes #6003 from adrian-wang/pynareplace and squashes the following commits: 672efba [Daoyuan Wang] remove py2.7 feature 4a148f7 [Daoyuan Wang] to_replace support dict, value support single value, and add full tests 9e232e7 [Daoyuan Wang] rename scala map af0268a [Daoyuan Wang] remove na 63ac579 [Daoyuan Wang] add na.replace in pyspark (cherry picked from commit d86ce84) Signed-off-by: Reynold Xin <[email protected]>
Author: Daoyuan Wang <[email protected]> Closes apache#6003 from adrian-wang/pynareplace and squashes the following commits: 672efba [Daoyuan Wang] remove py2.7 feature 4a148f7 [Daoyuan Wang] to_replace support dict, value support single value, and add full tests 9e232e7 [Daoyuan Wang] rename scala map af0268a [Daoyuan Wang] remove na 63ac579 [Daoyuan Wang] add na.replace in pyspark
Author: Daoyuan Wang <[email protected]> Closes apache#6003 from adrian-wang/pynareplace and squashes the following commits: 672efba [Daoyuan Wang] remove py2.7 feature 4a148f7 [Daoyuan Wang] to_replace support dict, value support single value, and add full tests 9e232e7 [Daoyuan Wang] rename scala map af0268a [Daoyuan Wang] remove na 63ac579 [Daoyuan Wang] add na.replace in pyspark
Author: Daoyuan Wang <[email protected]> Closes apache#6003 from adrian-wang/pynareplace and squashes the following commits: 672efba [Daoyuan Wang] remove py2.7 feature 4a148f7 [Daoyuan Wang] to_replace support dict, value support single value, and add full tests 9e232e7 [Daoyuan Wang] rename scala map af0268a [Daoyuan Wang] remove na 63ac579 [Daoyuan Wang] add na.replace in pyspark
No description provided.