Print data in PyCharm as in Datalore

Hello,

I'm using PyCharm 2021.2. I've started to code my program on Datalore in Python. I've transferred my project to PyCharm for more convenience. In Datalore, it's possible to print a variable directly by calling it and Datalore formats the data for display (as an Dataframe).

So, is it possible to have the same behavior on PyCharm? How to force View as Dataframe in the code and in the console ?

Thanks

2 comments
Comment actions Permalink

Hello, 

It works slightly different in PyCharm. Leading variables is available in theDebug mode, please see the links:

https://www.jetbrains.com/help/pycharm/matplotlib-tutorial.html#summary

https://www.jetbrains.com/help/pycharm/variables-loading-policy.html

 

There is no option to "force", but click on "View as array" is needed. 

 

Should you have any additional questions please let me know. 

0
Comment actions Permalink

Thanks for your answer, this confirms what I thought.

0

Please sign in to leave a comment.