python - 在 iPython 中无边框显示的 Pandas 数据框

标签 python pandas ipython anaconda

我的数据框过去是这样显示的:

enter image description here

然后,有一天,我意识到边框不再显示了:

enter image description here

我不知道发生了什么。

我使用 Python、pandas、iPython 和 Spyder 附带的 Anaconda 包安装了 Python 3.4。所以,我通过 Spyder 环境访问 iPython。

出现边框问题后,我卸载了Anaconda,重新安装,还是出​​现了同样的问题。

如有任何帮助,我们将不胜感激。

最佳答案

此功能已在 IPython 3.0 中删除。

这是 reported 2015 年 5 月访问 Anaconda Google 群组页面。

I think you're [were] using an old version of Spyder (2.3.0, 2.3.1 or 2.3.2) on Windows because support for printing DataFrames as html tables was removed in recent versions (i.e. since [Spyder] 2.3.3).

I'm sorry we've had to remove it, but it was causing other problems and (more importantly) it stopped to be supported by IPython 3.0+.

然后在 later 中更明确地说明帖子:

There is no way to get the functionality mentioned by the OP again because it was removed by IPython in its 3.0 version.

关于python - 在 iPython 中无边框显示的 Pandas 数据框,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32032426/

相关文章:

python - Python 中的 Pandas 数据框。比例和转置

pandas - 在 Pandas DataFrame 的文本列中显示嵌入的换行符

R 和 Julia Kernels 在 Jupyter 笔记本中不可用

python - 使用python将数字列表压缩为唯一的非重叠时间范围

python - 是否可以在不使用性能优于 O(n^2) 的 sorted() 或字典的情况下检查字谜?

python - 使用数组作为列填充预定义的 numpy 数组

python - 根据列中的值提取每个值的前 N ​​行

python - 如何创建嵌套字典,以便通过Python为Elasticsearch创建映射?

python - 将函数应用于 Pandas 数据框中的列

plugins - 在 Sublime Text 2 中运行 IPython Notebook