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
Assignment operations will raise a ``ValueError``:
423
+
However, getting and assignment operations directly on a ``Resampler`` will raise a ``ValueError``:
424
424
425
425
.. code-block:: python
426
426
@@ -517,63 +517,6 @@ New API
517
517
518
518
In the new API, you can either downsample OR upsample. The prior implementation would allow you to pass an aggregator function (like ``mean``) even though you were upsampling, providing a bit of confusion.
519
519
520
-
.. _whatsnew_0180.breaking.aggregation:
521
-
522
-
Aggregation API clarifictions
523
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
524
-
525
-
As part of the new API for :ref:`window functions <whatsnew_0180.enhancements.moments>` and :ref:`resampling <whatsnew_0180.resample>`, aggregation functions have been
526
-
clarified. (:issue:`9052`). A full set of examples are presented in :ref:`groupby <groupby.aggregation>`.
527
-
528
-
Here are the available methodologies and changes for these aggregations.
- ``DataFrame.unstack`` and ``Series.unstack`` now take ``fill_value`` keyword to allow direct replacement of missing values when an unstack results in missing values in the resulting ``DataFrame``. As an added benefit, specifying ``fill_value`` will preserve the data type of the original stacked data. (:issue:`9746`)
659
602
603
+
- As part of the new API for :ref:`window functions <whatsnew_0180.enhancements.moments>` and :ref:`resampling <whatsnew_0180.resample>`, aggregation functions have been
604
+
clarified, raising more informative error messages on invalid aggregations. (:issue:`9052`). A full set of examples are presented in :ref:`groupby <groupby.aggregation>`.
0 commit comments