Skip to content

Commit d34b82c

Browse files
authored
DOC: Move whatsnew 3.0 elements (#58265)
1 parent ae246a6 commit d34b82c

File tree

1 file changed

+18
-23
lines changed

1 file changed

+18
-23
lines changed

doc/source/whatsnew/v3.0.0.rst

+18-23
Original file line numberDiff line numberDiff line change
@@ -339,19 +339,6 @@ Performance improvements
339339

340340
Bug fixes
341341
~~~~~~~~~
342-
- Fixed bug in :class:`SparseDtype` for equal comparison with na fill value. (:issue:`54770`)
343-
- Fixed bug in :meth:`.DataFrameGroupBy.median` where nat values gave an incorrect result. (:issue:`57926`)
344-
- Fixed bug in :meth:`DataFrame.cumsum` which was raising ``IndexError`` if dtype is ``timedelta64[ns]`` (:issue:`57956`)
345-
- Fixed bug in :meth:`DataFrame.eval` and :meth:`DataFrame.query` which caused an exception when using NumPy attributes via ``@`` notation, e.g., ``df.eval("@np.floor(a)")``. (:issue:`58041`)
346-
- Fixed bug in :meth:`DataFrame.join` inconsistently setting result index name (:issue:`55815`)
347-
- Fixed bug in :meth:`DataFrame.to_string` that raised ``StopIteration`` with nested DataFrames. (:issue:`16098`)
348-
- Fixed bug in :meth:`DataFrame.transform` that was returning the wrong order unless the index was monotonically increasing. (:issue:`57069`)
349-
- Fixed bug in :meth:`DataFrame.update` bool dtype being converted to object (:issue:`55509`)
350-
- Fixed bug in :meth:`DataFrameGroupBy.apply` that was returning a completely empty DataFrame when all return values of ``func`` were ``None`` instead of returning an empty DataFrame with the original columns and dtypes. (:issue:`57775`)
351-
- Fixed bug in :meth:`Series.diff` allowing non-integer values for the ``periods`` argument. (:issue:`56607`)
352-
- Fixed bug in :meth:`Series.rank` that doesn't preserve missing values for nullable integers when ``na_option='keep'``. (:issue:`56976`)
353-
- Fixed bug in :meth:`Series.replace` and :meth:`DataFrame.replace` inconsistently replacing matching instances when ``regex=True`` and missing values are present. (:issue:`56599`)
354-
- Fixed bug in :meth:`read_csv` raising ``TypeError`` when ``index_col`` is specified and ``na_values`` is a dict containing the key ``None``. (:issue:`57547`)
355342

356343
Categorical
357344
^^^^^^^^^^^
@@ -363,12 +350,12 @@ Datetimelike
363350
- Bug in :class:`Timestamp` constructor failing to raise when ``tz=None`` is explicitly specified in conjunction with timezone-aware ``tzinfo`` or data (:issue:`48688`)
364351
- Bug in :func:`date_range` where the last valid timestamp would sometimes not be produced (:issue:`56134`)
365352
- Bug in :func:`date_range` where using a negative frequency value would not include all points between the start and end values (:issue:`56382`)
366-
-
353+
- Bug in :func:`tseries.api.guess_datetime_format` would fail to infer time format when "%Y" == "%H%M" (:issue:`57452`)
367354

368355
Timedelta
369356
^^^^^^^^^
370357
- Accuracy improvement in :meth:`Timedelta.to_pytimedelta` to round microseconds consistently for large nanosecond based Timedelta (:issue:`57841`)
371-
-
358+
- Bug in :meth:`DataFrame.cumsum` which was raising ``IndexError`` if dtype is ``timedelta64[ns]`` (:issue:`57956`)
372359

373360
Timezones
374361
^^^^^^^^^
@@ -382,6 +369,7 @@ Numeric
382369

383370
Conversion
384371
^^^^^^^^^^
372+
- Bug in :meth:`DataFrame.update` bool dtype being converted to object (:issue:`55509`)
385373
- Bug in :meth:`Series.astype` might modify read-only array inplace when casting to a string dtype (:issue:`57212`)
386374
- Bug in :meth:`Series.reindex` not maintaining ``float32`` type when a ``reindex`` introduces a missing value (:issue:`45857`)
387375

@@ -412,10 +400,11 @@ MultiIndex
412400

413401
I/O
414402
^^^
403+
- Bug in :class:`DataFrame` and :class:`Series` ``repr`` of :py:class:`collections.abc.Mapping`` elements. (:issue:`57915`)
415404
- Bug in :meth:`DataFrame.to_excel` when writing empty :class:`DataFrame` with :class:`MultiIndex` on both axes (:issue:`57696`)
416-
- Now all ``Mapping`` s are pretty printed correctly. Before only literal ``dict`` s were. (:issue:`57915`)
417-
-
418-
-
405+
- Bug in :meth:`DataFrame.to_string` that raised ``StopIteration`` with nested DataFrames. (:issue:`16098`)
406+
- Bug in :meth:`read_csv` raising ``TypeError`` when ``index_col`` is specified and ``na_values`` is a dict containing the key ``None``. (:issue:`57547`)
407+
419408

420409
Period
421410
^^^^^^
@@ -430,23 +419,25 @@ Plotting
430419
Groupby/resample/rolling
431420
^^^^^^^^^^^^^^^^^^^^^^^^
432421
- Bug in :meth:`.DataFrameGroupBy.groups` and :meth:`.SeriesGroupby.groups` that would not respect groupby argument ``dropna`` (:issue:`55919`)
422+
- Bug in :meth:`.DataFrameGroupBy.median` where nat values gave an incorrect result. (:issue:`57926`)
433423
- Bug in :meth:`.DataFrameGroupBy.quantile` when ``interpolation="nearest"`` is inconsistent with :meth:`DataFrame.quantile` (:issue:`47942`)
434424
- Bug in :meth:`DataFrame.ewm` and :meth:`Series.ewm` when passed ``times`` and aggregation functions other than mean (:issue:`51695`)
435-
-
425+
- Bug in :meth:`DataFrameGroupBy.apply` that was returning a completely empty DataFrame when all return values of ``func`` were ``None`` instead of returning an empty DataFrame with the original columns and dtypes. (:issue:`57775`)
426+
436427

437428
Reshaping
438429
^^^^^^^^^
439-
-
430+
- Bug in :meth:`DataFrame.join` inconsistently setting result index name (:issue:`55815`)
440431
-
441432

442433
Sparse
443434
^^^^^^
444-
-
435+
- Bug in :class:`SparseDtype` for equal comparison with na fill value. (:issue:`54770`)
445436
-
446437

447438
ExtensionArray
448439
^^^^^^^^^^^^^^
449-
- Fixed bug in :meth:`api.types.is_datetime64_any_dtype` where a custom :class:`ExtensionDtype` would return ``False`` for array-likes (:issue:`57055`)
440+
- Bug in :meth:`api.types.is_datetime64_any_dtype` where a custom :class:`ExtensionDtype` would return ``False`` for array-likes (:issue:`57055`)
450441
-
451442

452443
Styler
@@ -456,11 +447,15 @@ Styler
456447
Other
457448
^^^^^
458449
- Bug in :class:`DataFrame` when passing a ``dict`` with a NA scalar and ``columns`` that would always return ``np.nan`` (:issue:`57205`)
459-
- Bug in :func:`tseries.api.guess_datetime_format` would fail to infer time format when "%Y" == "%H%M" (:issue:`57452`)
460450
- Bug in :func:`unique` on :class:`Index` not always returning :class:`Index` (:issue:`57043`)
451+
- Bug in :meth:`DataFrame.eval` and :meth:`DataFrame.query` which caused an exception when using NumPy attributes via ``@`` notation, e.g., ``df.eval("@np.floor(a)")``. (:issue:`58041`)
461452
- Bug in :meth:`DataFrame.sort_index` when passing ``axis="columns"`` and ``ignore_index=True`` and ``ascending=False`` not returning a :class:`RangeIndex` columns (:issue:`57293`)
453+
- Bug in :meth:`DataFrame.transform` that was returning the wrong order unless the index was monotonically increasing. (:issue:`57069`)
462454
- Bug in :meth:`DataFrame.where` where using a non-bool type array in the function would return a ``ValueError`` instead of a ``TypeError`` (:issue:`56330`)
463455
- Bug in :meth:`Index.sort_values` when passing a key function that turns values into tuples, e.g. ``key=natsort.natsort_key``, would raise ``TypeError`` (:issue:`56081`)
456+
- Bug in :meth:`Series.diff` allowing non-integer values for the ``periods`` argument. (:issue:`56607`)
457+
- Bug in :meth:`Series.rank` that doesn't preserve missing values for nullable integers when ``na_option='keep'``. (:issue:`56976`)
458+
- Bug in :meth:`Series.replace` and :meth:`DataFrame.replace` inconsistently replacing matching instances when ``regex=True`` and missing values are present. (:issue:`56599`)
464459
- Bug in Dataframe Interchange Protocol implementation was returning incorrect results for data buffers' associated dtype, for string and datetime columns (:issue:`54781`)
465460

466461
.. ***DO NOT USE THIS SECTION***

0 commit comments

Comments
 (0)