MCPcopy Create free account
hub / github.com/dask/dask / idxmax

Method idxmax

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

Source from the content-addressed store, hash-verified

1916
1917 @derived_from(pd.DataFrame)
1918 def idxmax(self, axis=0, skipna=True, numeric_only=False, split_every=False):
1919 axis = self._validate_axis(axis)
1920 if axis == 1:
1921 return self.map_partitions(
1922 M.idxmax, skipna=skipna, numeric_only=numeric_only, axis=axis
1923 )
1924 return new_collection(self.expr.idxmax(skipna, numeric_only, split_every))
1925
1926 @derived_from(pd.DataFrame)
1927 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