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
In pandas 1.1., the classes were _GroupBy and Groupby. Since that time, _Groupby was replaced by BaseGroupBy, and generics were introduced.
The original version of these stubs were generated on top of pandas 1.1.
This should get reconciled at some point so the class names are the same, including the various subclassing that is going on.
In pandas, BaseGroupBy inherits from SelectionMixin[NDFrameT], but if that is used in the stubs, mypy complains because the definitions of aggregate() are different in SelectionMixin and GroupBy
Uh oh!
There was an error while loading. Please reload this page.
In pandas 1.1., the classes were
_GroupBy
andGroupby
. Since that time,_Groupby
was replaced byBaseGroupBy
, and generics were introduced.The original version of these stubs were generated on top of pandas 1.1.
This should get reconciled at some point so the class names are the same, including the various subclassing that is going on.
In pandas,
BaseGroupBy
inherits fromSelectionMixin[NDFrameT]
, but if that is used in the stubs, mypy complains because the definitions ofaggregate()
are different inSelectionMixin
andGroupBy
So there is some work to do here.
See #142 and #148
The text was updated successfully, but these errors were encountered: