[英]Segfault 11 with pandas with Python v2.7.6 RC1 on Mac OS X 10.9
In [1]: import json
In [2]: path = 'ch02/usagov_bitly_data2012-03-16-1331923249.txt'
In [3]: from pandas import DataFrame, Series;
In [4]: records = [json.loads(line) for line in open(path)]
In [5]: frame = DataFrame(records)
In [6]: frame['tz'][:10]
Segmentation fault: 11
Any access to frame results in a segfault. 对帧的任何访问都会导致段错误。 I have already upgraded to Python 2.7.6 RC1.
我已经升级到Python 2.7.6 RC1。 Also happened in 2.7.5, also happens outside ipython.
也发生在2.7.5,也发生在ipython之外。 What am I to do?
我是什么做的?
This appears to be a bug in Numpy that has been fixed recently. 这似乎是最近修复的Numpy中的一个错误。 See https://github.com/numpy/numpy/issues/3962
请参阅https://github.com/numpy/numpy/issues/3962
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.