Pycharm中运行Jupyter,DataFrame表格无法显示。

以前我使用pycharm运行Jupyter可以显示表格,现在无法显示

arr=np.random.rand(2,4)
df=pd.DataFrame(arr)
df

这样无法显示出表格,本来以前都可以显示出表格类似于下面这样
图片说明

但是我在重装系统之后,就无法显示有条隐隐约约的线,求大佬帮忙

图片说明

设置下ast_node_interactivity

from IPython.core.interactiveshell import InteractiveShell
InteractiveShell.ast_node_interactivity = "all"
如果要全局:
c = get_config()
c.InteractiveShell.ast_node_interactivity = "all"

我也是这个问题 一直没法解决