MCPcopy
hub / github.com/pandas-dev/pandas / grouped_reduce

Method grouped_reduce

pandas/core/internals/managers.py:2293–2299  ·  view source on GitHub ↗
(self, func)

Source from the content-addressed store, hash-verified

2291 return array_equals(left, right)
2292
2293 def grouped_reduce(self, func):
2294 arr = self.array
2295 res = func(arr)
2296 index = default_index(len(res))
2297
2298 mgr = type(self).from_array(res, index)
2299 return mgr
2300
2301
2302# --------------------------------------------------------------------

Callers

nothing calls this directly

Calls 3

default_indexFunction · 0.90
from_arrayMethod · 0.80
funcFunction · 0.50

Tested by

no test coverage detected