diff options
author | gfyoung <gfyoung17@gmail.com> | 2016-02-19 05:14:49 +0000 |
---|---|---|
committer | gfyoung <gfyoung17@gmail.com> | 2016-02-19 06:16:11 +0000 |
commit | 4f91544af2a74bc2dcecfce5db05b015f26721e4 (patch) | |
tree | 79744f6d06eda3e6a7203d94e657cfd433af2df7 /numpy/core/function_base.py | |
parent | 711b2a9ccfb54c09cdc483ee511035bda60f3f0b (diff) | |
download | numpy-4f91544af2a74bc2dcecfce5db05b015f26721e4.tar.gz |
BUG: Make randint backwards compatible with pandas
The 'pandas' library expects Python integers to be
returned, so this commit changes the API so that
the default is 'np.int' which converts to native
Python integer types when a singleton is being
generated with this function.
Closes gh-7284.
Diffstat (limited to 'numpy/core/function_base.py')
0 files changed, 0 insertions, 0 deletions