torcharrow.NumericalColumn.describe¶
- NumericalColumn.describe(percentiles=None, include: Optional[List[DType]] = None, exclude: Optional[List[DType]] = None)¶
Generate descriptive statistics.
- Parameters:
array-like (percentiles -) – Defines which percentiles to calculate. If None, uses [25,50,75].
None (default) – Defines which percentiles to calculate. If None, uses [25,50,75].
Examples
>>> import torcharrow >>> t = ta.column([1,2,999,4]) >>> t.describe() index statistic value ------- ----------- ------- 0 count 4 1 mean 251.5 2 std 498.335 3 min 1 4 25% 1.5 5 50% 3 6 75% 501.5 7 max 999