Skip to content

BF: reading stata files - unpack read value describing stored byte order #7272

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

Merged
merged 1 commit into from
May 29, 2014

Conversation

yarikoptic
Copy link
Contributor

Otherwise comparison would always result in "low endian" . Seems to resolve all the gory stata files reading tests on sparc at least
closes #5781

Otherwise comparison would always result in "low endian"
@jreback
Copy link
Contributor

jreback commented May 29, 2014

whoosh! thanks seems simple enough

@jreback jreback added Bug and removed Bug labels May 29, 2014
@jreback jreback modified the milestones: 0.14.1, 0.14.0 May 29, 2014
jreback added a commit that referenced this pull request May 29, 2014
BF: reading stata files - unpack read value describing stored byte order
@jreback jreback merged commit 0f0fb94 into pandas-dev:master May 29, 2014
@jreback
Copy link
Contributor

jreback commented May 29, 2014

thanks @yarikoptic

@yarikoptic
Copy link
Contributor Author

you are welcome

Never give up -- never give in! ;)

On Thu, 29 May 2014, jreback wrote:

thanks [1]@yarikoptic


Reply to this email directly or [2]view it on GitHub.

References

Visible links

  1. https://github.com/yarikoptic
  2. BF: reading stata files - unpack read value describing stored byte order #7272 (comment)

Yaroslav O. Halchenko, Ph.D.
http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
Research Scientist, Psychological and Brain Sciences Dept.
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419
WWW: http://www.linkedin.com/in/yarik

@bashtage
Copy link
Contributor

That was a simple fix. In principle someone should probably test the .dta files created on a big endian platform in Stata. I have tested the files created in the test suite in Stata, but only on LE.

@cpcloud
Copy link
Member

cpcloud commented May 30, 2014

Hard since most commodity hardware is using x86 which is little endian. Sparc I think is only on specific sun systems which are not feasible for any of us to purchase. That said sometimes these builds do find bugs.

@jreback
Copy link
Contributor

jreback commented May 30, 2014

yep the debian guys run all of the builds on lots of hardware

@yarikoptic
Copy link
Contributor Author

On Fri, 30 May 2014, Phillip Cloud wrote:

Sparc I think is only on specific sun systems which are not feasible for
any of us to purchase.

FWIW: used sparcs are actually more than affordable. companies simply get rid
of them after a year or two pass the service contract expiring. And
since they are not that popular as a commodity x86 -- they are quite
cheap

look at
http://www.ebay.com/sch/i.html?_trksid=p2050601.m570.l1313&_nkw=sparc&_sacat=0&_from=R40
for a hundred or two you can get a reasonable sparc box

Yaroslav O. Halchenko, Ph.D.
http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
Research Scientist, Psychological and Brain Sciences Dept.
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419
WWW: http://www.linkedin.com/in/yarik

@cpcloud
Copy link
Member

cpcloud commented May 30, 2014

Interesting. Thanks @yarikoptic

@yarikoptic
Copy link
Contributor Author

I am sorry for ruining your dream @cpcloud that you had a very wealthy cyber-friend -- my sparcs are recycled 2000 and 2005 boxes too ;)

@cpcloud
Copy link
Member

cpcloud commented May 30, 2014

You must use Raid for debugging those :)

@yarikoptic
Copy link
Contributor Author

You must use Raid for debugging those :)
whatever works... ;)

Yaroslav O. Halchenko, Ph.D.
http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
Research Scientist, Psychological and Brain Sciences Dept.
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419
WWW: http://www.linkedin.com/in/yarik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Compat pandas objects compatability with Numpy or Python functions IO Data IO issues that don't fit into a more specific label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TST/BUG: stata failures on big endian
4 participants