Skip to content

Add range parameter to histogram functions #4096

Closed

Description

@vasslitvinov

Feature Description: We would like Arkouda's histogram functions to accept a range argument like in numpy

Example Behavior: The following should count only those elements of a that lie between -3 and 3, inclusive:

histo, edges = histogram(a, range=(-3,3))

Workarounds: filter the contents of the array before passing it to the histogram function

Additional context: numpy histogram histogram2d histogramdd

Activity

  1. added
    enhancement
    on Feb 12, 2025
  2. added this to the Numpy Alignment milestone on Feb 14, 2025
  3. added a commit that references this issue on Apr 23, 2025
    14f81b0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions