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

Method describe

dask/dataframe/dask_expr/_collection.py:4559–4579  ·  view source on GitHub ↗
(
        self,
        split_every=False,
        percentiles=None,
        percentiles_method="default",
        include=None,
        exclude=None,
    )

Source from the content-addressed store, hash-verified

4557
4558 @derived_from(pd.Series)
4559 def describe(
4560 self,
4561 split_every=False,
4562 percentiles=None,
4563 percentiles_method="default",
4564 include=None,
4565 exclude=None,
4566 ):
4567 if (
4568 is_numeric_dtype(self.dtype)
4569 and not is_bool_dtype(self.dtype)
4570 or is_timedelta64_dtype(self.dtype)
4571 or is_datetime64_any_dtype(self.dtype)
4572 ):
4573 return new_collection(
4574 DescribeNumeric(self, split_every, percentiles, percentiles_method)
4575 )
4576 else:
4577 return new_collection(
4578 DescribeNonNumeric(self, split_every, percentiles, percentiles_method)
4579 )
4580
4581 @property
4582 @derived_from(pd.Series)

Callers 10

test_describe_numericFunction · 0.95
_metaMethod · 0.45
describeMethod · 0.45
test_describe_seriesFunction · 0.45
test_describe_dfFunction · 0.45
test_describeFunction · 0.45
test_describe_emptyFunction · 0.45

Calls 3

new_collectionFunction · 0.90
DescribeNumericClass · 0.90
DescribeNonNumericClass · 0.90

Tested by 8

test_describe_numericFunction · 0.76
test_describe_seriesFunction · 0.36
test_describe_dfFunction · 0.36
test_describeFunction · 0.36
test_describe_emptyFunction · 0.36