-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
FIX: Add endianness missing flag when reading data #9264
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
Conversation
if self.byteorder != self._native_byteorder: | ||
print(data.dtype) | ||
data = data.byteswap().newbyteorder() | ||
print(data.dtype) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prints left from debugging or really intended for some reason?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should not be there...
f074b75
to
8fbe379
Compare
@yarikoptic @jreback I think this one is ready. |
@yarikoptic ok on these platforms? |
@bashtage IIRC the tests are disabled on non-small so is this actually tested? |
Added endianess flat to data type to allow data to be read cross platforms closes pandas-dev#8688
All of the tests were re-enabled for big-endian a few releases ago. There are only three tests that are skipped on any platform: https://github.com/pydata/pandas/blob/master/pandas/io/tests/test_stata.py#L256 I would like to kill these in a different PR since they rely on proprietary data and so will never be re-enabled. |
8fbe379
to
3f46c7a
Compare
ok, ping on green |
@jreback It is ready. |
FIX: Add endianness missing flag when reading data
thanks! |
Added endianess flat to data type to allow data to be read cross platforms
closes #8688