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

Class Sum

dask/dataframe/dask_expr/_reductions.py:906–926  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

904
905
906class Sum(Reduction):
907 _parameters = ["frame", "skipna", "numeric_only", "split_every", "axis"]
908 _defaults = {
909 "split_every": False,
910 "numeric_only": False,
911 "skipna": True,
912 "axis": 0,
913 }
914 reduction_chunk = M.sum
915
916 @property
917 def chunk_kwargs(self):
918 return dict(skipna=self.skipna, numeric_only=self.numeric_only, axis=self.axis)
919
920 @property
921 def combine_kwargs(self):
922 return dict(skipna=self.skipna, axis=self.axis)
923
924 @property
925 def aggregate_kwargs(self):
926 return dict(skipna=self.skipna, axis=self.axis)
927
928
929class Prod(Sum):

Callers 1

sumMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected