8000 DOC: numpy.random.sample and numpy.random.random_sample · Issue #10587 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content
DOC: numpy.random.sample and numpy.random.random_sample #10587
Closed
@k-kapp

Description

@k-kapp

I just noticed in the docs that the page for numpy.random.sample indicates that the function should be called as numpy.random.random_sample. I understand that this may just indicate that the function may be called as either sample or random_sample, but it does come across as a mistake when first viewing the page. Perhaps make it more explicit that random_sample is an alias of sample? Or is this the accepted practice for functions that have aliases?

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

      0