Skip to content

tablecloth.api/percentiles is not supposed to add a column #169

@daslu

Description

@daslu

The following was reported by @lvh on a Slack thread:
https://clojurians.slack.com/archives/C0BQDEJ8M/p1727016052908239

tablecloth.api/percentiles is currently expected to add a column to a dataset, but this does not make sense.
https://github.com/scicloj/tablecloth/blob/1d501aa/src/tablecloth/api.clj#L1790

The percentiles computation indeed returns a collection of numbers, but the elements of that collection are simply the percentiles -- they do not correspond to the actual rows of the dataset, and thus they do not make sense as a new column.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions