Pandas 在 iPython 中无边框显示的数据框
Pandas dataframe displayed without borders in iPython
我的数据框过去是这样显示的:
然后,有一天,我意识到边框不再显示了:
我不知道发生了什么。
我有 Python 3.4,我使用 Python、pandas、iPython 和 Spyder 附带的 Anaconda 包安装了它。因此,我正在通过 Spyder 环境访问 iPython。
出现边框问题后,卸载了Anaconda,重新安装,还是一样的问题
如有任何帮助,我们将不胜感激。
此功能已在 IPython 3.0 中删除。
这是 2015 年 5 月 reported 到 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 post 中更明确:
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 3.4,我使用 Python、pandas、iPython 和 Spyder 附带的 Anaconda 包安装了它。因此,我正在通过 Spyder 环境访问 iPython。
出现边框问题后,卸载了Anaconda,重新安装,还是一样的问题
如有任何帮助,我们将不胜感激。
此功能已在 IPython 3.0 中删除。
这是 2015 年 5 月 reported 到 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 post 中更明确:
There is no way to get the functionality mentioned by the OP again because it was removed by IPython in its 3.0 version.