Skip to content

DOC: Inconsistency in documentation for np.random.uniform #20144

Closed
@oliwiam001

Description

@oliwiam001

Issue with current documentation:

In documentation for numpy.random.uniform there is one contradiction. First it says that "Samples are uniformly distributed over the half-open interval [low, high) (includes low, but excludes high)." and then it says "All values generated will be less than or equal to high." So basically it says first that "high" is excluded and then it says that it is included. https://numpy.org/doc/stable/reference/random/generated/numpy.random.uniform.html

Idea or request for content:

The second part should be corrected.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions