Skip to content

Commit c38da31

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

File tree

2 files changed

+35
-3
lines changed

2 files changed

+35
-3
lines changed

doc/source/whatsnew/v1.0.2.rst

+34-2
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,49 @@ 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 where :func:`read_pickle` raised a ``UnicodeDecodeError`` when reading a py27 pickle with :class:`MultiIndex` column (:issue:`31988`).
2223
- Fixed regression in :class:`DataFrame` arithmetic operations with mis-matched columns (:issue:`31623`)
24+
- Fixed regression in :meth:`GroupBy.agg` calling a user-provided function an extra time on an empty input (:issue:`31760`)
2325
-
2426

2527
.. ---------------------------------------------------------------------------
2628
29+
Indexing with Nullable Boolean Arrays
30+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31+
32+
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`)
33+
34+
.. ipython:: python
35+
36+
s = pd.Series([1, 2, 3, 4])
37+
mask = pd.array([True, True, False, None], dtype="boolean")
38+
s
39+
mask
40+
41+
*pandas 1.0.0-1.0.1*
42+
43+
.. code-block:: python
44+
45+
>>> s[mask]
46+
Traceback (most recent call last):
47+
...
48+
ValueError: cannot mask with array containing NA / NaN values
49+
50+
*pandas 1.0.2*
51+
52+
.. ipython:: python
53+
54+
s[mask]
55+
2756
.. _whatsnew_102.bug_fixes:
2857

2958
Bug fixes
3059
~~~~~~~~~
3160

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

3467
- Fixed bug where :meth:`Categorical.from_codes` improperly raised a ``ValueError`` when passed nullable integer codes. (:issue:`31779`)
@@ -39,12 +72,11 @@ Bug fixes
3972
- Using ``pd.NA`` with :meth:`DataFrame.to_json` now correctly outputs a null value instead of an empty object (:issue:`31615`)
4073
- Fixed bug in parquet roundtrip with nullable unsigned integer dtypes (:issue:`31896`).
4174

42-
43-
4475
**Experimental dtypes**
4576

4677
- Fix bug in :meth:`DataFrame.convert_dtypes` for columns that were already using the ``"string"`` dtype (:issue:`31731`).
4778
- Fixed bug in setting values using a slice indexer with string dtype (:issue:`31772`)
79+
- Fix bug in :meth:`Series.convert_dtypes` for series with mix of integers and strings (:issue:`32117`)
4880

4981
.. ---------------------------------------------------------------------------
5082

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)