MCPcopy
hub / github.com/dask/dask / idxmax

Method idxmax

dask/dataframe/dask_expr/_collection.py:1884–1890  ·  view source on GitHub ↗
(self, axis=0, skipna=True, numeric_only=False, split_every=False)

Source from the content-addressed store, hash-verified

1882
1883 @derived_from(pd.DataFrame)
1884 def idxmax(self, axis=0, skipna=True, numeric_only=False, split_every=False):
1885 axis = self._validate_axis(axis)
1886 if axis == 1:
1887 return self.map_partitions(
1888 M.idxmax, skipna=skipna, numeric_only=numeric_only, axis=axis
1889 )
1890 return new_collection(self.expr.idxmax(skipna, numeric_only, split_every))
1891
1892 @derived_from(pd.DataFrame)
1893 def min(self, axis=0, skipna=True, numeric_only=False, split_every=False, **kwargs):

Callers

nothing calls this directly

Calls 4

map_partitionsMethod · 0.95
new_collectionFunction · 0.90
_validate_axisMethod · 0.45
idxmaxMethod · 0.45

Tested by

no test coverage detected