Skip to content

Conversation

@phofl
Copy link
Member

@phofl phofl commented Mar 11, 2022

@phofl phofl added Indexing Related to indexing on series/frames, not to indexes themselves Regression Functionality that used to work in a prior pandas version MultiIndex labels Mar 11, 2022
@phofl phofl added this to the 1.4.2 milestone Mar 11, 2022
@jreback jreback merged commit 54777c7 into pandas-dev:main Mar 11, 2022
@jreback
Copy link
Contributor

jreback commented Mar 11, 2022

thanks @phofl

@jreback
Copy link
Contributor

jreback commented Mar 11, 2022

@meeseeksdev backport 1.4.x

@lumberbot-app
Copy link

lumberbot-app bot commented Mar 11, 2022

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

jreback pushed a commit that referenced this pull request Mar 12, 2022
… is empty (#46334)

Co-authored-by: Patrick Hoefler <61934744+phofl@users.noreply.github.com>
- Fixed regression in :meth:`DataFrame.drop` and :meth:`Series.drop` when :class:`Index` had extension dtype and duplicates (:issue:`45860`)
- Fixed memory performance regression in :meth:`Series.fillna` when called on a :class:`DataFrame` column with ``inplace=True`` (:issue:`46149`)
- Provided an alternative solution for passing custom Excel formats in :meth:`.Styler.to_excel`, which was a regression based on stricter CSS validation. Examples available in the documentation for :meth:`.Styler.format` (:issue:`46152`)
- Fixed regression in :meth:`DataFrame.loc.__setitem__` losing :class:`MultiIndex` names if :class:`DataFrame` was empty before (:issue:`46317`)
Copy link
Member

Choose a reason for hiding this comment

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

:meth:DataFrame.loc.__setitem__ not a valid ref. will change in a release note tidy up

Copy link
Member Author

Choose a reason for hiding this comment

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

What would be valid here? (For future references)

Copy link
Member

Choose a reason for hiding this comment

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

in 1.4.1 release notes https://pandas.pydata.org/pandas-docs/dev/whatsnew/v1.4.1.html#fixed-regressions , I changed it to

Regression when setting values with DataFrame.loc() losing Index name if DataFrame was empty before (GH45621)

will probably do similar

Copy link
Member

Choose a reason for hiding this comment

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

done in #46354

@phofl phofl deleted the 46317 branch June 6, 2022 20:51
yehoshuadimarsky pushed a commit to yehoshuadimarsky/pandas that referenced this pull request Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Indexing Related to indexing on series/frames, not to indexes themselves MultiIndex Regression Functionality that used to work in a prior pandas version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: Difference in CSV roundtrip between 1.3.5 and 1.4.1

3 participants