-
Notifications
You must be signed in to change notification settings - Fork 5
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
num_decimals zero for non-integer data #2
Comments
Thanks for the excellent test case. I may or may not have time to look into it soon. In the meantime, if you have a minute, I'd be interested to know whether the same bug applies to this fork: https://github.com/selik/xport/blob/master/xport/xport.py selik did a ton of great cleanup work that should really be merged back in, and may have fixed whatever's breaking here in the process. |
It appears to fixed in selik’s fork, which may also handle missing values better. Thanks for your and selik’s work on this! From: jcushman [mailto:[email protected]] Thanks for the excellent test case. I may or may not have time to look into it soon. In the meantime, if you have a minute, I'd be interested to know whether the same bug applies to this fork: https://github.com/selik/xport/blob/master/xport/xport.py selik did a ton of great cleanup work that should really be merged back in, and may have fixed whatever's breaking here in the process. — |
Great -- I'll take this as a reminder to merge that in. On Thu, Feb 21, 2013 at 9:33 AM, Abraham Flaxman
|
Hi Jack, thanks for the great work! I am relatively new to Python (and Github). Many thanks, |
Hi - I just had the problem where floats were encoded as ints. I used the version provided here: https://pypi.python.org/pypi/xport/ |
@sergeyf Do you mind making a new issue for this on my repo (https://github.com/selik/xport/issues), if it's still a problem? |
@wdarsono I'm happy to help if this is still bothering you. Check out the latest version (https://github.com/selik/xport/). |
I've run into an issue analyzing some NHANES data that might be a problem in other datasets as well. xport finds columns with num_decimals == 0 when the data is not an integer. I can't tell from the specification file if the .xpt file is in error here, but I've created a minimal example of the problem so that you can investigate further if you have time.
http://nbviewer.ipython.org/5004964/
The text was updated successfully, but these errors were encountered: