summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_function_base.py
diff options
context:
space:
mode:
authorgfyoung <gfyoung17@gmail.com>2016-02-19 05:14:49 +0000
committergfyoung <gfyoung17@gmail.com>2016-02-19 06:16:11 +0000
commit4f91544af2a74bc2dcecfce5db05b015f26721e4 (patch)
tree79744f6d06eda3e6a7203d94e657cfd433af2df7 /numpy/lib/tests/test_function_base.py
parent711b2a9ccfb54c09cdc483ee511035bda60f3f0b (diff)
downloadnumpy-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/lib/tests/test_function_base.py')
0 files changed, 0 insertions, 0 deletions