Skip to content

Do we need a Digitize function? #1124

@Jolanrensen

Description

@Jolanrensen

Numpy has a digitize function: https://numpy.org/doc/stable/reference/generated/numpy.digitize.html It's used to bin values from a column into given bins.

DataFrame has had a version of digitize for a while, but it's not well tested, or used, or optimized with binary search.

It will be removed in its current state.

Please use this issue to let us know whether you need or use something like digitize and how you use it so we can decide together whether DataFrame needs a function like this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions