Jupyter Notebook not rendering pandas dataframes properly

已回答

 For some reason with the recent update for Python (early August or late July), dataframes no longer scroll when they don't fit in the output area. Now they just stop rendering. Attached is a screenshot of a dataframe. By narrowing the window by a few pixels makes the dataframe disappear.

 

After:

 

In my case I'm using

IntelliJ IDEA 2017.2.3
Build #IU-172.3968.16, built on August 21, 2017
JRE: 1.8.0_152-release-915-b11 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.6
Python Add-In: 2017.2.172.3757.70

I have friends having the same problem with PyCharm 2017.2.

 

3

Thank you for the report.

I've created an issue https://youtrack.jetbrains.com/issue/PY-25931 in PyCharm issue tracker, please follow it for updates. See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications if you are not familiar with YouTrack.

0
Avatar
Permanently deleted user

Exactly the same issue.

pandas.core.frame.DataFrame

Dataframe.Head( ) , DataFrame.Info(), Describe() -- all these commands used to output in Jupyter notebook. Updated to latest Pycharm Professional 2017.2 and now there is no output. However it shows blank lines as output now. Please fix this ASAP.

 

Environment: MAC OS, 8 GB RAM, VirtualEnv enabled for Python

0

Same problem.

Environment:

  • Professional 2017.3
  • Linux Mint 18.3 Sylvia 64 Bit

On Jupyter it works fine.

 

1
Avatar
Permanently deleted user

Same problem

PyCharm Professional 2018.1

Debian 9

 

0
Avatar
Permanently deleted user

It shown often when I adjust the width of the Pycharm but actually it has problem to me too.

0

We have realised our EAP build which has a complete redesign of Jupyter Notebook support. Please try it and see if it has same problems.

You can download it from https://www.jetbrains.com/pycharm/nextversion/

Please note, that you can have multiple PyCharm installations at the same time. So you don't need to uninstall current stable version to install EAP build.

0
Avatar
Permanently deleted user

Tried https://www.jetbrains.com/pycharm/nextversion/

There is no jupyter notebook server interpreter. My existing notebook interpreter imported from 2018.3.5 cannot be run. My notebook shows as json and cannot be run.

I guess I missed something obvious.

 

0

@Jiangok2006
There is probably something wrong with your installation. Try re-installing from scratch (make sure to remove all IDE's folders https://www.jetbrains.com/help/pycharm/directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html)

0

请先登录再写评论。