-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
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
CLN: Removed the return_type param in StringMethods.split #13701
CLN: Removed the return_type param in StringMethods.split #13701
Conversation
99202eb
to
375ed6a
Compare
@@ -541,6 +541,7 @@ Removal of prior version deprecations/changes | |||
- ``DataFrame.to_dict()`` has dropped the ``outtype`` parameter in favor of ``orient`` (:issue:`13627`, :issue:`8486`) | |||
- ``pd.Categorical`` has dropped setting of the ``ordered`` attribute directly in favor of the ``set_ordered`` method (:issue:`13671`) | |||
- ``pd.Categorical`` has dropped the ``levels`` attribute in favour of ``categories`` (:issue:`8376`) | |||
- ``pd.core.strings.StringMethods.split`` has dropped the ``return_type`` parameter in favor of ``expand`` (:issue:`13701`) |
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.
Other release notes simply write .str.split
.
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.
Sure thing. Will get around to it as soon as Travis gives the green light.
Current coverage is 84.52%@@ master #13701 diff @@
==========================================
Files 141 141
Lines 51145 51144 -1
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
- Hits 43233 43232 -1
Misses 7912 7912
Partials 0 0
|
375ed6a
to
a8ea397
Compare
@sinhrks : Made the requested doc change (hence the |
@@ -1906,45 +1906,6 @@ def test_split_no_pat_with_nonzero_n(self): | |||
|
|||
def test_split_to_dataframe(self): | |||
s = Series(['nosplit', 'alsonosplit']) | |||
|
|||
with tm.assert_produces_warning(FutureWarning): |
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.
these should still work w/o the argument, so leave the tests themselves
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.
They are duplicates essentially with the tests that follow, which is why I removed them.
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.
oh, ok
a8ea397
to
38531c2
Compare
Thanks! |
Continues where #10085 left off by removing the
return_type
parameter for good.