projects
/
pandas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4df8c50
)
avoid overflows for now Due to a bug in current numpy beta (or numexpr) tests would...
author
Yaroslav Halchenko
<debian@onerussian.com>
Sun, 2 Apr 2017 05:06:36 +0000
(
05:06
+0000)
committer
Andreas Tille
<tille@debian.org>
Sun, 2 Apr 2017 05:06:36 +0000
(
05:06
+0000)
as a workaround for now -- avoid big ints
Origin: Debian
Bug: https://github.com/pandas-dev/pandas/issues/15046
Last-Update: 2017-01-04
Gbp-Pq: Name up_buggy_overflows
pandas/tests/test_expressions.py
patch
|
blob
|
history
diff --git
a/pandas/tests/test_expressions.py
b/pandas/tests/test_expressions.py
index c037f02f20609e2bae5adf7b2fb37780bb1bd3af..754159aaf04246b7fabeeb86f99adee85f79a8d7 100644
(file)
--- a/
pandas/tests/test_expressions.py
+++ b/
pandas/tests/test_expressions.py
@@
-40,7
+40,7
@@
_mixed2 = DataFrame({'A': _frame2['A'].copy(),
'C': _frame2['C'].astype('int64'),
'D': _frame2['D'].astype('int32')})
_integer = DataFrame(
- np.random.randint(1, 10
0
,
+ np.random.randint(1, 10,
size=(10001, 4)), columns=list('ABCD'), dtype='int64')
_integer2 = DataFrame(np.random.randint(1, 100, size=(101, 4)),
columns=list('ABCD'), dtype='int64')