Closed MichaelTiemannOSC closed 1 year ago
It's a bit frustrating that this is the case, since their documentation states clearly:
One can (emphasis mine) implement methods to handle array accumulations or reductions.
- _accumulate
- _reduce
ie. this is a pandas doc or implementation bug.
This new code in pandas/core/generic.py causes grief for pint-pandas:
It's great that Pandas is expanding the implementation of ExtensionArrays, but Pint-Pandas needs to keep up by implementing an _accumulate function in PintPandas. That _accumulate function should implement cumsum, cumprod, and who knows what else.