Skip to content
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

Fix default value of str.split expand parameter. #10457

Merged
merged 2 commits into from
Mar 27, 2022

Conversation

bdice
Copy link
Contributor

@bdice bdice commented Mar 18, 2022

This is a small fix to match the pandas API for the expand parameter of Series.str.split. Only boolean values are allowed. Currently the default is set to None and then replaced with the intended default of False. This PR changes it to have a default value of False.

This is a tiny bit of an API break because users who explicitly passed None will now see an error instead of getting the intended default value, but the previous behavior was a bug with respect to pandas API compatibility.

@bdice bdice added the bug Something isn't working label Mar 18, 2022
@bdice bdice self-assigned this Mar 18, 2022
@bdice bdice requested a review from a team as a code owner March 18, 2022 20:28
@bdice bdice requested review from trxcllnt and charlesbluca March 18, 2022 20:28
@github-actions github-actions bot added the Python Affects Python cuDF API. label Mar 18, 2022
Copy link
Contributor

@galipremsagar galipremsagar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @bdice for spotting this!

@bdice bdice added non-breaking Non-breaking change breaking Breaking change and removed non-breaking Non-breaking change labels Mar 18, 2022
@bdice bdice changed the base branch from branch-22.04 to branch-22.06 March 18, 2022 20:51
@bdice
Copy link
Contributor Author

bdice commented Mar 23, 2022

rerun tests

2 similar comments
@bdice
Copy link
Contributor Author

bdice commented Mar 23, 2022

rerun tests

@bdice
Copy link
Contributor Author

bdice commented Mar 24, 2022

rerun tests

@codecov
Copy link

codecov bot commented Mar 27, 2022

Codecov Report

❗ No coverage uploaded for pull request base (branch-22.06@47d16cb). Click here to learn what that means.
The diff coverage is n/a.

@@               Coverage Diff               @@
##             branch-22.06   #10457   +/-   ##
===============================================
  Coverage                ?   86.34%           
===============================================
  Files                   ?      140           
  Lines                   ?    22294           
  Branches                ?        0           
===============================================
  Hits                    ?    19249           
  Misses                  ?     3045           
  Partials                ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 47d16cb...b8fbd40. Read the comment docs.

@galipremsagar galipremsagar added the 5 - Ready to Merge Testing and reviews complete, ready to merge label Mar 27, 2022
@galipremsagar
Copy link
Contributor

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 65ef0ea into rapidsai:branch-22.06 Mar 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 - Ready to Merge Testing and reviews complete, ready to merge breaking Breaking change bug Something isn't working Python Affects Python cuDF API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants