API: pass ddof
down to Cythonised std
/ var
in groupby.agg
#60591
Labels
ddof
down to Cythonised std
/ var
in groupby.agg
#60591
Say I want to do a
groupby
and perform various aggregations, e.g. I want to findmean
andstd
ofb
. Easy:What if I want to do the same with
ddof=0
? If was computing a single aggregation, I could do:and that uses the Cythonized path.
However, I think the current pandas API doesn't allow a way of passing
ddof
to'std'
when used in.agg
. The workaround often suggested in StackOverflow is (😭 ):but that'll evade the Cythonized path, which is a missed opportunity
The text was updated successfully, but these errors were encountered: