Features.quartiles

Features.quartiles(groupByFeature=None)

Returns a nimble object representing the quartiles along the features axis.

Parameters:

groupByFeature (identifier, None) – An optional index or name of the feature that makes the result grouped by the point values along the chosen feature axis.

Examples

>>> lst = [[0, 22, 2], [3, 22, 5]]
>>> X = nimble.data(lst)
>>> X.features.quartiles()
<Matrix 3pt x 3ft
               0      1       2
           ┌─────────────────────
 quartile1 │ 0.750  22.000  2.750
 quartile2 │ 1.500  22.000  3.500
 quartile3 │ 2.250  22.000  4.250
>