hgrecco / pint-pandas

Pandas support for pint
Other
172 stars 42 forks source link

Delegate _reduce to underlying ExtensionArrays #176

Closed coroa closed 1 year ago

coroa commented 1 year ago

As an alternative to #172 , we are here delegating the _reduce method through to underlying ExtensionArrays like IntegerArray.

I guess there are more functions where such behaviour would be desirable.

andrewgsavage commented 1 year ago

That's a nice approach, will look at this more after pint-pandas is working with pint properly