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

DEPR: remove real, imag, put, and str.partition kwarg #29986

Merged
merged 5 commits into from
Dec 4, 2019

Conversation

jbrockmendel
Copy link
Member

No description provided.

@gfyoung gfyoung changed the title DEPR: remove ptp, real, imag, put, and str.partitiion kwarg DEPR: remove ptp, real, imag, put, and str.partition kwarg Dec 3, 2019
@gfyoung gfyoung added Clean Deprecate Functionality to remove in pandas labels Dec 3, 2019
@gfyoung
Copy link
Member

gfyoung commented Dec 3, 2019

These changes I thought would have been fine.

Seem to have instead triggered multiple test failures...

@jbrockmendel
Copy link
Member Author

Looks like ptp behavior is fickle depending on numpy version, will revert that and save it for a later day

@jbrockmendel jbrockmendel changed the title DEPR: remove ptp, real, imag, put, and str.partition kwarg DEPR: remove real, imag, put, and str.partition kwarg Dec 3, 2019
result = values.str.partition(pat="_")
tm.assert_frame_equal(result, expected)
result = values.str.partition("_")
tm.assert_frame_equal(result, expected)

# str.rpartition
# using sep -> no warning
Copy link
Member

Choose a reason for hiding this comment

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

Small nit, but those comments are no longer up to date (also above)

Copy link
Member Author

Choose a reason for hiding this comment

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

updated #29985 to remove these comments

@jreback jreback added this to the 1.0 milestone Dec 4, 2019
@jreback jreback merged commit 42ffec1 into pandas-dev:master Dec 4, 2019
@jreback
Copy link
Contributor

jreback commented Dec 4, 2019

thanks @jbrockmendel

small followup indicated by @jorisvandenbossche above

@jbrockmendel jbrockmendel deleted the depr-series branch December 4, 2019 17:33
jbrockmendel added a commit to jbrockmendel/pandas that referenced this pull request Dec 4, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean Deprecate Functionality to remove in pandas
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants