在python 3.3中将pandas Dataframe写入csv的弃用警告

时间:2014-04-30 01:12:00

标签: python pandas

python 3.3特定问题:

我在python 3.3中将pandas Dataframe写入csv时得到​​了一个弃用警告(在python 2.x中没有发生)。

>>> df2 = DataFrame(np.random.randn(10, 5))

>>> df2.to_csv("test.csv")
/nfs/tools/lib/python/3.3/current/lib64/python3.3/site-packages/pandas/core/internals.py:1190: DeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
values = values[:, slicer]
/nfs/tools/lib/python/3.3/current/lib64/python3.3/site-packages/pandas/core/index.py:624: DeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
result = arr_idx[key]

生成的csv文件似乎没问题。这是值得关注的吗?是否会更新pandas包以反映这一点?

由于

0 个答案:

没有答案