Functions applied on .expanding() receive ndarrays rather than pandas objects #12950
Labels
Duplicate Report
Duplicate issue or pull request
Reshaping
Concat, Merge/Join, Stack/Unstack, Explode
.apply(...)
on window-based groupbys receive anndarray
rather than a Pandas object.Is this intentional? Is it a performance issue?
It means that functions that work on
Series
can't necessarily be used on groupbys, which limits abstraction.Expected (without the coercion):
Pandas 0.18
The text was updated successfully, but these errors were encountered: