Random int64 and float64 numbers

前端 未结 5 1170
失恋的感觉
失恋的感觉 2021-02-14 19:07

I\'m trying to generate random 64-bit integer values for integers and floats using Numpy, within the entire range of valid values for that type. To generate ran

5条回答
  •  长情又很酷
    2021-02-14 19:26

    The issue seems to be that the random_numbers method expects only 32-bit integers.

    According to ticket #555 random seeds can now be 64-bit as of version 1.1.0 I suggest downloading and installing the latest version of NumPy from here.

提交回复
热议问题