【发布时间】:2016-11-17 05:47:34
【问题描述】:
所以,目前我的 linux 系统中有Python 2.7.6 和熊猫版本'0.13.1',所以我在我的代码中使用了 dt 访问器,但它不起作用。经过一些谷歌后,我知道它需要更高版本的熊猫。我尝试了几件事。它给了我警告#warning "Using deprecated NumPy API, disable it by " \。对此有任何帮助,我该如何升级?
【问题讨论】:
-
使用
pip install --upgrade pandas。 -
@shivsn 我这样做了,它首先下载
Downloading pandas-0.18.1.tar.gz (7.3MB):然后它donloadsDownloading numpy-1.11.1.zip (4.7MB):,然后是有问题的警告。并最终终止于UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 32: ordinal not in range(128) -
@shivsn
no such option: --no-cache-dir -
@shivsn 已经解决了同样的问题
-
看看this的问题。