Skip to content

Quantiles in NumPy #127

@oldoc63

Description

@oldoc63
  • Split the first 10% of the data:
 import numpy as np
 
dataset = [5, 10, -20, 42, -9, 10]
ten_percent = np.quantile(dataset, 0.10)
  • Informs if a data point is in the bottom 10% of the dataset.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions