-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
test_missing_value_conversion on ubuntu 13.10 32bit KeyError: 2147483647 #8968
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
cc @bashtage |
Bizzare. This is straight python MISSING_VALUES = {}
bases = (101, 32741, 2147483621)
for b in bases:
MISSING_VALUES[b] = '.'
for i in range(1, 27):
MISSING_VALUES[i + b] = '.' + chr(96 + i) This certainly appears to create I don't have any 32 bit to test on - I suppose that is is a 32 bit issue since this is the largest 32-bit integer |
so on 32-bit you cannot add to it (well you can, but it squelches the overflow) and its 'undefined' IIRC. are these bases a stata thing? |
Yes, these are a Stata choice to use the highest integer values of each type to represent missing values. From what I can see, it should be perfectly fine since it is not adding anything to this value. |
Just some thoughts - I am guessing that |
Force conversion to integer for missing values when they must be integer to avoid hash errors on 32 bit platforms. closes pandas-dev#8968
@jreback Should be ready |
doesn't happen on amd64
The text was updated successfully, but these errors were encountered: