|
1 | 1 | .. _whatsnew_300: |
2 | 2 |
|
3 | | -What's new in 3.0.0 (Month XX, 2024) |
| 3 | +What's new in 3.0.0 (Month XX, 2025) |
4 | 4 | ------------------------------------ |
5 | 5 |
|
6 | 6 | These are the changes in pandas 3.0.0. See :ref:`release` for a full changelog |
@@ -414,6 +414,7 @@ Other API changes |
414 | 414 | - Index set operations (like union or intersection) will now ignore the dtype of |
415 | 415 | an empty ``RangeIndex`` or empty ``Index`` with object dtype when determining |
416 | 416 | the dtype of the resulting Index (:issue:`60797`) |
| 417 | +- :class:`IncompatibleFrequency` now subclasses ``TypeError`` instead of ``ValueError``. As a result, joins with mismatched frequencies now cast to object like other non-comparable joins, and arithmetic with indexes with mismatched frequencies align (:issue:`55782`) |
417 | 418 | - Comparison operations between :class:`Index` and :class:`Series` now consistently return :class:`Series` regardless of which object is on the left or right (:issue:`36759`) |
418 | 419 | - Numpy functions like ``np.isinf`` that return a bool dtype when called on a :class:`Index` object now return a bool-dtype :class:`Index` instead of ``np.ndarray`` (:issue:`52676`) |
419 | 420 |
|
@@ -456,6 +457,7 @@ Other Deprecations |
456 | 457 | - Deprecated :meth:`.DataFrameGroupby.corrwith` (:issue:`57158`) |
457 | 458 | - Deprecated :meth:`Timestamp.utcfromtimestamp`, use ``Timestamp.fromtimestamp(ts, "UTC")`` instead (:issue:`56680`) |
458 | 459 | - Deprecated :meth:`Timestamp.utcnow`, use ``Timestamp.now("UTC")`` instead (:issue:`56680`) |
| 460 | +- Deprecated ``pd.core.internals.api.maybe_infer_ndim`` (:issue:`40226`) |
459 | 461 | - Deprecated allowing non-keyword arguments in :meth:`DataFrame.all`, :meth:`DataFrame.min`, :meth:`DataFrame.max`, :meth:`DataFrame.sum`, :meth:`DataFrame.prod`, :meth:`DataFrame.mean`, :meth:`DataFrame.median`, :meth:`DataFrame.sem`, :meth:`DataFrame.var`, :meth:`DataFrame.std`, :meth:`DataFrame.skew`, :meth:`DataFrame.kurt`, :meth:`Series.all`, :meth:`Series.min`, :meth:`Series.max`, :meth:`Series.sum`, :meth:`Series.prod`, :meth:`Series.mean`, :meth:`Series.median`, :meth:`Series.sem`, :meth:`Series.var`, :meth:`Series.std`, :meth:`Series.skew`, and :meth:`Series.kurt`. (:issue:`57087`) |
460 | 462 | - Deprecated allowing non-keyword arguments in :meth:`Series.to_markdown` except ``buf``. (:issue:`57280`) |
461 | 463 | - Deprecated allowing non-keyword arguments in :meth:`Series.to_string` except ``buf``. (:issue:`57280`) |
@@ -694,6 +696,7 @@ Datetimelike |
694 | 696 | - Bug in :attr:`is_year_start` where a DateTimeIndex constructed via a date_range with frequency 'MS' wouldn't have the correct year or quarter start attributes (:issue:`57377`) |
695 | 697 | - Bug in :class:`DataFrame` raising ``ValueError`` when ``dtype`` is ``timedelta64`` and ``data`` is a list containing ``None`` (:issue:`60064`) |
696 | 698 | - Bug in :class:`Timestamp` constructor failing to raise when ``tz=None`` is explicitly specified in conjunction with timezone-aware ``tzinfo`` or data (:issue:`48688`) |
| 699 | +- Bug in :class:`Timestamp` constructor failing to raise when given a ``np.datetime64`` object with non-standard unit (:issue:`25611`) |
697 | 700 | - Bug in :func:`date_range` where the last valid timestamp would sometimes not be produced (:issue:`56134`) |
698 | 701 | - Bug in :func:`date_range` where using a negative frequency value would not include all points between the start and end values (:issue:`56147`) |
699 | 702 | - Bug in :func:`tseries.api.guess_datetime_format` would fail to infer time format when "%Y" == "%H%M" (:issue:`57452`) |
|
0 commit comments