OMinMax
- class omoment.OMinMax(min: Number = inf, max: Number = -inf, n: int = 0, handling_invalid: HandlingInvalid = HandlingInvalid.Drop)
Bases:
OBase
Only estimator for minimum, maximum and number of points.
Not really moments, but it is useful and shares the same interface. Does not use weights.
- classmethod compute(x: Number | ndarray | Series, handling_invalid: HandlingInvalid = HandlingInvalid.Drop) OMinMax
Shortcut for initialization of an empty object and its update based on data.
- max
- min
- n
- classmethod of_frame(data: DataFrame, x: str, handling_invalid: HandlingInvalid = HandlingInvalid.Drop) OMinMax
Create an OMinMax based on a dataframe and a column name.