You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Functions used for the generation of random samples (for example dask.array.random.normal) indicate in their docstring: New code should use the normal method of a default_rng() instance instead..
This feature is not currently available and would be very useful for compatibility with other array modules (numpy, cupy, ...).
Thanks for opening this @joanrue! If this is something that you are interested in please feel free to open a pull request. For context, that docstring is copied from the upstream library that the function is mimicking (in this case numpy) so we don't really control the contents.
Activity
[-]dask.array.default_rng[/-][+]Add ``dask.array.default_rng``[/+]jsignell commentedon Mar 8, 2022
Thanks for opening this @joanrue! If this is something that you are interested in please feel free to open a pull request. For context, that docstring is copied from the upstream library that the function is mimicking (in this case numpy) so we don't really control the contents.
Use np.random.Generator to generate random numbers
Use np.random.Generator to generate random numbers