Skip to content

Commit f73b8eb

Browse files
author
Sumanau Sareen
committed
Added a whatsnew entry in v1.1.0.rst
1 parent 30c293b commit f73b8eb

File tree

2 files changed

+39
-4
lines changed

2 files changed

+39
-4
lines changed

doc/source/whatsnew/v1.0.2.rst

+38-3
Original file line numberDiff line numberDiff line change
@@ -19,32 +19,67 @@ Fixed regressions
1919
- Fixed regression in :meth:`Series.align` when ``other`` is a DataFrame and ``method`` is not None (:issue:`31785`)
2020
- Fixed regression in :meth:`pandas.core.groupby.RollingGroupby.apply` where the ``raw`` parameter was ignored (:issue:`31754`)
2121
- Fixed regression in :meth:`rolling(..).corr() <pandas.core.window.Rolling.corr>` when using a time offset (:issue:`31789`)
22+
- Fixed regression in :meth:`DataFrameGroupBy.nunique` which was modifying the original values if ``NaN`` values were present (:issue:`31950`)
23+
- Fixed regression where :func:`read_pickle` raised a ``UnicodeDecodeError`` when reading a py27 pickle with :class:`MultiIndex` column (:issue:`31988`).
2224
- Fixed regression in :class:`DataFrame` arithmetic operations with mis-matched columns (:issue:`31623`)
25+
- Fixed regression in :meth:`GroupBy.agg` calling a user-provided function an extra time on an empty input (:issue:`31760`)
2326
-
2427

2528
.. ---------------------------------------------------------------------------
2629
30+
Indexing with Nullable Boolean Arrays
31+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32+
33+
Previously indexing with a nullable Boolean array containing ``NA`` would raise a ``ValueError``, however this is now permitted with ``NA`` being treated as ``False``. (:issue:`31503`)
34+
35+
.. ipython:: python
36+
37+
s = pd.Series([1, 2, 3, 4])
38+
mask = pd.array([True, True, False, None], dtype="boolean")
39+
s
40+
mask
41+
42+
*pandas 1.0.0-1.0.1*
43+
44+
.. code-block:: python
45+
46+
>>> s[mask]
47+
Traceback (most recent call last):
48+
...
49+
ValueError: cannot mask with array containing NA / NaN values
50+
51+
*pandas 1.0.2*
52+
53+
.. ipython:: python
54+
55+
s[mask]
56+
2757
.. _whatsnew_102.bug_fixes:
2858

2959
Bug fixes
3060
~~~~~~~~~
3161

62+
**Datetimelike**
63+
64+
- Bug in :meth:`DataFrame.reindex` and :meth:`Series.reindex` when reindexing with a tz-aware index (:issue:`26683`)
65+
3266
**Categorical**
3367

3468
- Fixed bug where :meth:`Categorical.from_codes` improperly raised a ``ValueError`` when passed nullable integer codes. (:issue:`31779`)
69+
- Fixed bug where :meth:`Categorical` constructor would raise a ``TypeError`` when given a numpy array containing ``pd.NA``. (:issue:`31927`)
3570
- Bug in :class:`Categorical` that would ignore or crash when calling :meth:`Series.replace` with a list-like ``to_replace`` (:issue:`31720`)
3671

3772
**I/O**
3873

3974
- Using ``pd.NA`` with :meth:`DataFrame.to_json` now correctly outputs a null value instead of an empty object (:issue:`31615`)
4075
- Fixed bug in parquet roundtrip with nullable unsigned integer dtypes (:issue:`31896`).
4176

42-
43-
4477
**Experimental dtypes**
4578

4679
- Fix bug in :meth:`DataFrame.convert_dtypes` for columns that were already using the ``"string"`` dtype (:issue:`31731`).
4780
- Fixed bug in setting values using a slice indexer with string dtype (:issue:`31772`)
81+
- Fixed bug where :meth:`GroupBy.first` and :meth:`GroupBy.last` would raise a ``TypeError`` when groups contained ``pd.NA`` in a column of object dtype (:issue:`32123`)
82+
- Fix bug in :meth:`Series.convert_dtypes` for series with mix of integers and strings (:issue:`32117`)
4883

4984
.. ---------------------------------------------------------------------------
5085
@@ -53,4 +88,4 @@ Bug fixes
5388
Contributors
5489
~~~~~~~~~~~~
5590

56-
.. contributors:: v1.0.1..v1.0.2|HEAD
91+
.. contributors:: v1.0.1..v1.0.2|HEAD

doc/source/whatsnew/v1.1.0.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Other enhancements
4343

4444
- :class:`Styler` may now render CSS more efficiently where multiple cells have the same styling (:issue:`30876`)
4545
- When writing directly to a sqlite connection :func:`to_sql` now supports the ``multi`` method (:issue:`29921`)
46-
-
46+
- `OptionError` is now exposed in `pandas.errors` (:issue:`27553`)
4747
-
4848

4949
.. ---------------------------------------------------------------------------

0 commit comments

Comments
 (0)