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

Class Max

dask/dataframe/dask_expr/_reductions.py:935–960  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

933
934
935class Max(Reduction):
936 _parameters = ["frame", "skipna", "numeric_only", "split_every", "axis"]
937 _defaults = {
938 "split_every": False,
939 "numeric_only": False,
940 "skipna": True,
941 "axis": 0,
942 }
943 reduction_chunk = M.max
944
945 @property
946 def chunk_kwargs(self):
947 if self.frame._meta.ndim < 2:
948 return dict(skipna=self.skipna)
949 else:
950 return dict(
951 skipna=self.skipna, numeric_only=self.numeric_only, axis=self.axis
952 )
953
954 @property
955 def combine_kwargs(self):
956 return dict(skipna=self.skipna, axis=self.axis)
957
958 @property
959 def aggregate_kwargs(self):
960 return dict(skipna=self.skipna, axis=self.axis)
961
962
963class Min(Max):

Callers 1

maxMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected