scipy-lectures / scientific-python-lectures

Tutorial material on the scientific Python ecosystem
https://lectures.scientific-python.org
Other
3.09k stars 1.19k forks source link

MAINT: use random Generator instead of RandomState #717

Closed mdhaber closed 6 months ago

mdhaber commented 6 months ago

It looks like the intent was to switch from use of RandomStates to Generators, but the transition is incomplete. I searched for occurences of random.rand (which also finds randn and randint) and replaced them.

@tupui would you check me here? Some things to look for: