Skip to content

ENH: refactor RNG usage to use np.random.Generator #14322

@tupui

Description

@tupui

I propose to work on refactoring np.random.RandomState usages in the code base to use the preferred np.random.Generator available starting from NumPy 1.17.

It was discussed in some issue (I cannot find it now) that we could start dropping NumPy 1.16 for the next release of SciPy.

This work would be a follow up of #13863 and #13778

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementA new feature or improvementneeds-decisionItems that need further discussion before they are merged or closedscipy.stats

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions