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.24.0.txt
+9-1
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ Pandas has gained the ability to hold integer dtypes with missing values. This l
48
48
Here is an example of the usage.
49
49
50
50
We can construct a ``Series`` with the specified dtype. The dtype string ``Int64`` is a pandas ``ExtensionDtype``. Specifying a list or array using the traditional missing value
51
-
marker of ``np.nan`` will infer to integer dtype. The display of the ``Series`` will also use the ``NaN`` to indicate missing values in string outputs. (:issue:`20700`, :issue:`20747`, :issue:`22441`)
51
+
marker of ``np.nan`` will infer to integer dtype. The display of the ``Series`` will also use the ``NaN`` to indicate missing values in string outputs. (:issue:`20700`, :issue:`20747`, :issue:`22441`, :issue:`21789`, :issue:`22346`)
52
52
53
53
.. ipython:: python
54
54
@@ -91,6 +91,13 @@ These dtypes can be merged & reshaped & casted.
Reduction and groupby operations such as 'sum' work.
95
+
96
+
.. ipython:: python
97
+
98
+
df.sum()
99
+
df.groupby('B').A.sum()
100
+
94
101
.. warning::
95
102
96
103
The Integer NA support currently uses the captilized dtype version, e.g. ``Int8`` as compared to the traditional ``int8``. This may be changed at a future date.
@@ -567,6 +574,7 @@ update the ``ExtensionDtype._metadata`` tuple to match the signature of your
567
574
- Added :meth:`pandas.api.types.register_extension_dtype` to register an extension type with pandas (:issue:`22664`)
568
575
- Series backed by an ``ExtensionArray`` now work with :func:`util.hash_pandas_object` (:issue:`23066`)
569
576
- Updated the ``.type`` attribute for ``PeriodDtype``, ``DatetimeTZDtype``, and ``IntervalDtype`` to be instances of the dtype (``Period``, ``Timestamp``, and ``Interval`` respectively) (:issue:`22938`)
577
+
- Support for reduction operations such as ``sum``, ``mean`` via opt-in base class method override (:issue:`22762`)
0 commit comments