You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v1.0.2.rst
+4-4
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Fixed regressions
17
17
18
18
**Groupby**
19
19
20
-
- Fixed regression in :meth:`groupby(..).agg() <pandas.core.groupby.GroupBy.agg>` which was failing on frames with MultiIndex columns and a custom function (:issue:`31777`)
20
+
- Fixed regression in :meth:`groupby(..).agg() <pandas.core.groupby.GroupBy.agg>` which was failing on frames with :class:`MultiIndex` columns and a custom function (:issue:`31777`)
21
21
- Fixed regression in ``groupby(..).rolling(..).apply()`` (``RollingGroupby``) where the ``raw`` parameter was ignored (:issue:`31754`)
22
22
- Fixed regression in :meth:`rolling(..).corr() <pandas.core.window.rolling.Rolling.corr>` when using a time offset (:issue:`31789`)
23
23
- Fixed regression in :meth:`groupby(..).nunique() <pandas.core.groupby.DataFrameGroupBy.nunique>` which was modifying the original values if ``NaN`` values were present (:issue:`31950`)
@@ -33,7 +33,7 @@ Fixed regressions
33
33
34
34
**Reindexing/alignment**
35
35
36
-
- Fixed regression in :meth:`Series.align` when ``other`` is a DataFrame and ``method`` is not None (:issue:`31785`)
36
+
- Fixed regression in :meth:`Series.align` when ``other`` is a :class:`DataFrame` and ``method`` is not ``None`` (:issue:`31785`)
37
37
- Fixed regression in :meth:`DataFrame.reindex` and :meth:`Series.reindex` when reindexing with (tz-aware) index and ``method=nearest`` (:issue:`26683`)
38
38
- Fixed regression in :meth:`DataFrame.reindex_like` on a :class:`DataFrame` subclass raised an ``AssertionError`` (:issue:`31925`)
39
39
- Fixed regression in :class:`DataFrame` arithmetic operations with mis-matched columns (:issue:`31623`)
@@ -81,7 +81,7 @@ Bug fixes
81
81
82
82
**Datetimelike**
83
83
84
-
- Bug in :meth:`Series.astype` not copying for tz-naive and tz-aware datetime64 dtype (:issue:`32490`)
84
+
- Bug in :meth:`Series.astype` not copying for tz-naive and tz-aware ``datetime64`` dtype (:issue:`32490`)
85
85
- Bug where :func:`to_datetime` would raise when passed ``pd.NA`` (:issue:`32213`)
86
86
- Improved error message when subtracting two :class:`Timestamp` that result in an out-of-bounds :class:`Timedelta` (:issue:`31774`)
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v1.1.0.rst
+10-4
Original file line number
Diff line number
Diff line change
@@ -238,7 +238,7 @@ Categorical
238
238
- Bug where :func:`merge` was unable to join on non-unique categorical indices (:issue:`28189`)
239
239
- Bug when passing categorical data to :class:`Index` constructor along with ``dtype=object`` incorrectly returning a :class:`CategoricalIndex` instead of object-dtype :class:`Index` (:issue:`32167`)
240
240
- Bug where :class:`Categorical` comparison operator ``__ne__`` would incorrectly evaluate to ``False`` when either element was missing (:issue:`32276`)
241
-
-
241
+
-:meth:`Categorical.fillna` now accepts :class:`Categorical` ``other`` argument (:issue:`32420`)
242
242
243
243
Datetimelike
244
244
^^^^^^^^^^^^
@@ -268,6 +268,8 @@ Numeric
268
268
^^^^^^^
269
269
- Bug in :meth:`DataFrame.floordiv` with ``axis=0`` not treating division-by-zero like :meth:`Series.floordiv` (:issue:`31271`)
270
270
- Bug in :meth:`to_numeric` with string argument ``"uint64"`` and ``errors="coerce"`` silently fails (:issue:`32394`)
271
+
- Bug in :meth:`to_numeric` with ``downcast="unsigned"`` fails for empty data (:issue:`32493`)
272
+
- Bug in :meth:`DataFrame.mean` with ``numeric_only=False`` and either ``datetime64`` dtype or ``PeriodDtype`` column incorrectly raising ``TypeError`` (:issue:`32426`)
271
273
-
272
274
273
275
Conversion
@@ -303,8 +305,8 @@ Indexing
303
305
Missing
304
306
^^^^^^^
305
307
306
-
-
307
-
-
308
+
- 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`).
309
+
308
310
309
311
MultiIndex
310
312
^^^^^^^^^^
@@ -338,8 +340,10 @@ I/O
338
340
timestamps with ``version="2.0"`` (:issue:`31652`).
339
341
- Bug in :meth:`read_csv` was raising `TypeError` when `sep=None` was used in combination with `comment` keyword (:issue:`31396`)
340
342
- Bug in :class:`HDFStore` that caused it to set to ``int64`` the dtype of a ``datetime64`` column when reading a DataFrame in Python 3 from fixed format written in Python 2 (:issue:`31750`)
343
+
- :func:`read_csv` will raise a ``ValueError`` when the column names passed in `parse_dates` are missing in the Dataframe (:issue:`31251`)
341
344
- Bug in :meth:`read_excel` where a UTF-8 string with a high surrogate would cause a segmentation violation (:issue:`23809`)
342
345
- Bug in :meth:`read_csv` was causing a file descriptor leak on an empty file (:issue:`31488`)
346
+
- Bug in :meth:`read_csv` was causing a segfault when there were blank lines between the header and data rows (:issue:`28071`)
343
347
344
348
345
349
Plotting
@@ -375,7 +379,7 @@ Reshaping
375
379
376
380
Sparse
377
381
^^^^^^
378
-
382
+
- Creating a :class:`SparseArray` from timezone-aware dtype will issue a warning before dropping timezone information, instead of doing so silently (:issue:`32501`)
379
383
-
380
384
-
381
385
@@ -393,6 +397,8 @@ Other
393
397
- Set operations on an object-dtype :class:`Index` now always return object-dtype results (:issue:`31401`)
394
398
- Bug in :meth:`AbstractHolidayCalendar.holidays` when no rules were defined (:issue:`31415`)
395
399
- Bug in :meth:`DataFrame.to_records` incorrectly losing timezone information in timezone-aware ``datetime64`` columns (:issue:`32535`)
400
+
- Fixed :func:`pandas.testing.assert_series_equal` to correctly raise if left object is a different subclass with ``check_series_type=True`` (:issue:`32670`).
401
+
- :meth:`IntegerArray.astype` now supports ``datetime64`` dtype (:issue:32538`)
0 commit comments