Skip to content

Commit 3f5c6d6

Browse files
committed
update whatnew + styling improvements
1 parent 2ea68af commit 3f5c6d6

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

doc/source/whatsnew/v1.1.0.rst

+11
Original file line numberDiff line numberDiff line change
@@ -1017,6 +1017,7 @@ Indexing
10171017

10181018
Missing
10191019
^^^^^^^
1020+
<<<<<<< HEAD
10201021
- Calling :meth:`fillna` on an empty :class:`Series` now correctly returns a shallow copied object. The behaviour is now consistent with :class:`Index`, :class:`DataFrame` and a non-empty :class:`Series` (:issue:`32543`).
10211022
- Bug in :meth:`Series.replace` when argument ``to_replace`` is of type dict/list and is used on a :class:`Series` containing ``<NA>`` was raising a ``TypeError``. The method now handles this by ignoring ``<NA>`` values when doing the comparison for the replacement (:issue:`32621`)
10221023
- Bug in :meth:`~Series.any` and :meth:`~Series.all` incorrectly returning ``<NA>`` for all ``False`` or all ``True`` values using the nulllable Boolean dtype and with ``skipna=False`` (:issue:`33253`)
@@ -1025,6 +1026,16 @@ Missing
10251026
- Bug in :meth:`DataFrame.interpolate` when called on a :class:`DataFrame` with column names of string type was throwing a ValueError. The method is now independent of the type of the column names (:issue:`33956`)
10261027
- Passing :class:`NA` into a format string using format specs will now work. For example ``"{:.1f}".format(pd.NA)`` would previously raise a ``ValueError``, but will now return the string ``"<NA>"`` (:issue:`34740`)
10271028
- Bug in :meth:`Series.map` not raising on invalid ``na_action`` (:issue:`32815`)
1029+
=======
1030+
- Calling :meth:`fillna` on an empty Series now correctly returns a shallow copied object. The behaviour is now consistent with :class:`Index`, :class:`DataFrame` and a non-empty :class:`Series` (:issue:`32543`).
1031+
- Bug in :meth:`replace` when argument ``to_replace`` is of type dict/list and is used on a :class:`Series` containing ``<NA>`` was raising a ``TypeError``. The method now handles this by ignoring ``<NA>`` values when doing the comparison for the replacement (:issue:`32621`)
1032+
- Bug in :meth:`~Series.any` and :meth:`~Series.all` incorrectly returning ``<NA>`` for all ``False`` or all ``True`` values using the nulllable boolean dtype and with ``skipna=False`` (:issue:`33253`)
1033+
- Clarified documentation on interpolate with method =akima. The ``der`` parameter must be scalar or None (:issue:`33426`)
1034+
- :meth:`DataFrame.interpolate` uses the correct axis convention now. Previously interpolating along columns lead to interpolation along indices and vice versa. Furthermore interpolating with methods ``pad``, ``ffill``, ``bfill`` and ``backfill`` are identical to using these methods with :meth:`fillna` (:issue:`12918`, :issue:`29146`)
1035+
- Bug in :meth:`DataFrame.interpolate` when called on a DataFrame with column names of string type was throwing a ValueError. The method is no independing of the type of column names (:issue:`33956`)
1036+
- passing :class:`NA` will into a format string using format specs will now work. For example ``"{:.1f}".format(pd.NA)`` would previously raise a ``ValueError``, but will now return the string ``"<NA>"`` (:issue:`34740`)
1037+
- Bug in :meth:`SeriesGroupBy.transform` now correctly handles missing values for `dropna=False` (:issue:`35014`)
1038+
>>>>>>> 90e9b6a10... update whatnew + styling improvements
10281039

10291040
MultiIndex
10301041
^^^^^^^^^^

pandas/core/groupby/groupby.py

+1
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,7 @@ def _get_index(self, name):
634634
return self._get_indices([pd.NaT])[0]
635635
else:
636636
return self._get_indices([name])[0]
637+
637638
@cache_readonly
638639
def _selected_obj(self):
639640
# Note: _selected_obj is always just `self.obj` for SeriesGroupBy

0 commit comments

Comments
 (0)