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/v0.23.0.txt
+9-9
Original file line number
Diff line number
Diff line change
@@ -519,7 +519,7 @@ Other Enhancements
519
519
- :meth:`~pandas.core.window.Rolling.quantile` and :meth:`~pandas.core.window.Expanding.quantile` now accept the ``interpolation`` keyword, ``linear`` by default (:issue:`20497`)
520
520
- zip compression is supported via ``compression=zip`` in :func:`DataFrame.to_pickle`, :func:`Series.to_pickle`, :func:`DataFrame.to_csv`, :func:`Series.to_csv`, :func:`DataFrame.to_json`, :func:`Series.to_json`. (:issue:`17778`)
521
521
- :class:`pandas.tseries.api.offsets.WeekOfMonth` constructor now supports ``n=0`` (:issue:`20517`).
522
-
- :class:`DataFrame` and :class:`Series` now support matrix multiplication (```@```) operator (:issue:`10259`) for Python>=3.5
522
+
- :class:`DataFrame` and :class:`Series` now support matrix multiplication (``@``) operator (:issue:`10259`) for Python>=3.5
523
523
- Updated :meth:`DataFrame.to_gbq` and :meth:`pandas.read_gbq` signature and documentation to reflect changes from
524
524
the Pandas-GBQ library version 0.4.0. Adds intersphinx mapping to Pandas-GBQ
525
525
library. (:issue:`20564`)
@@ -570,9 +570,9 @@ Previous Behavior (and current behavior if on Python < 3.6):
570
570
.. code-block:: ipython
571
571
572
572
In [1]: pd.Series({'Income': 2000,
573
-
... 'Expenses': -1500,
574
-
... 'Taxes': -200,
575
-
... 'Net result': 300})
573
+
'Expenses': -1500,
574
+
'Taxes': -200,
575
+
'Net result': 300})
576
576
Expenses -1500
577
577
Income 2000
578
578
Net result 300
@@ -807,7 +807,7 @@ Extraction of matching patterns from strings
807
807
808
808
By default, extracting matching patterns from strings with :func:`str.extract` used to return a
809
809
``Series`` if a single group was being extracted (a ``DataFrame`` if more than one group was
810
-
extracted``). As of Pandas 0.23.0 :func:`str.extract` always returns a ``DataFrame``, unless
810
+
extracted). As of Pandas 0.23.0 :func:`str.extract` always returns a ``DataFrame``, unless
811
811
``expand`` is set to ``False``. Finallay, ``None`` was an accepted value for
812
812
the ``expand`` parameter (which was equivalent to ``False``), but now raises a ``ValueError``. (:issue:`11386`)
813
813
@@ -918,9 +918,9 @@ Datetimelike API Changes
918
918
- ``pandas.tseries.frequencies.get_freq_group()`` and ``pandas.tseries.frequencies.DAYS`` are removed from the public API (:issue:`18034`)
919
919
- :func:`Series.truncate` and :func:`DataFrame.truncate` will raise a ``ValueError`` if the index is not sorted instead of an unhelpful ``KeyError`` (:issue:`17935`)
920
920
- :attr:`Series.first` and :attr:`DataFrame.first` will now raise a ``TypeError``
921
-
rather than ``NotImplementedError`` when index is not a :class:`DatetimeIndex`` (:issue:`20725`).
922
-
- :attr:`Series.last` and :attr:`DateFrame.last` will now raise a ``TypeError``
923
-
rather than ``NotImplementedError`` when index is not a :class:`DatetimeIndex`` (:issue:`20725`).
921
+
rather than ``NotImplementedError`` when index is not a :class:`DatetimeIndex` (:issue:`20725`).
922
+
- :attr:`Series.last` and :attr:`DataFrame.last` will now raise a ``TypeError``
923
+
rather than ``NotImplementedError`` when index is not a :class:`DatetimeIndex` (:issue:`20725`).
924
924
- Restricted ``DateOffset`` keyword arguments. Previously, ``DateOffset`` subclasses allowed arbitrary keyword arguments which could lead to unexpected behavior. Now, only valid arguments will be accepted. (:issue:`17176`, :issue:`18226`).
925
925
- :func:`pandas.merge` provides a more informative error message when trying to merge on timezone-aware and timezone-naive columns (:issue:`15800`)
926
926
- For :class:`DatetimeIndex` and :class:`TimedeltaIndex` with ``freq=None``, addition or subtraction of integer-dtyped array or ``Index`` will raise ``NullFrequencyError`` instead of ``TypeError`` (:issue:`19895`)
@@ -1366,7 +1366,7 @@ Reshaping
1366
1366
- Comparisons between :class:`Series` and :class:`Index` would return a ``Series`` with an incorrect name, ignoring the ``Index``'s name attribute (:issue:`19582`)
1367
1367
- Bug in :func:`qcut` where datetime and timedelta data with ``NaT`` present raised a ``ValueError`` (:issue:`19768`)
1368
1368
- Bug in :func:`DataFrame.iterrows`, which would infers strings not compliant to `ISO8601 <https://en.wikipedia.org/wiki/ISO_8601>`_ to datetimes (:issue:`19671`)
1369
-
- Bug in :class:`Series` constructor with ``Categorical`` where a ```ValueError`` is not raised when an index of different length is given (:issue:`19342`)
1369
+
- Bug in :class:`Series` constructor with ``Categorical`` where a ``ValueError`` is not raised when an index of different length is given (:issue:`19342`)
1370
1370
- Bug in :meth:`DataFrame.astype` where column metadata is lost when converting to categorical or a dictionary of dtypes (:issue:`19920`)
1371
1371
- Bug in :func:`cut` and :func:`qcut` where timezone information was dropped (:issue:`19872`)
1372
1372
- Bug in :class:`Series` constructor with a ``dtype=str``, previously raised in some cases (:issue:`19853`)
0 commit comments