Skip to content

BUG: unnecessary FutureWarning in sort_values #45668

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

Merged
merged 5 commits into from
Jan 30, 2022
Merged

Conversation

jbrockmendel
Copy link
Member

@jreback jreback added this to the 1.4.1 milestone Jan 28, 2022
@jreback jreback added the Sparse Sparse Data Type label Jan 28, 2022
@jreback
Copy link
Contributor

jreback commented Jan 28, 2022

hmm failing tests though

@jbrockmendel
Copy link
Member Author

hmm failing tests though

yah places where we are testing for futurewarning and no longer getting them. will update.

@jbrockmendel
Copy link
Member Author

yah places where we are testing for futurewarning and no longer getting them. will update.

updated + greenishx

@@ -28,6 +28,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
- Fixed segfault in :meth:``DataFrame.to_json`` when dumping tz-aware datetimes in Python 3.10 (:issue:`42130`)
- Stopped emitting unnecessary ``FutureWarning`` in :meth:`DataFrame.sort_values` with sparse columns (:issue:`45618``)
Copy link
Member

Choose a reason for hiding this comment

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

Nit: Extra backtick at the end of the issue number

Copy link
Member Author

Choose a reason for hiding this comment

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

good catch, will update

@jreback jreback merged commit e38ffb6 into pandas-dev:main Jan 30, 2022
@jreback
Copy link
Contributor

jreback commented Jan 30, 2022

@meeseeksdev backport 1.4.x

@lumberbot-app
Copy link

lumberbot-app bot commented Jan 30, 2022

Something went wrong ... Please have a look at my logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Sparse Sparse Data Type
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: passing a SparseArray to pd.Index - overly eager FutureWarning
3 participants