Newbie question, run window hides output in a foldable section when using pandas

Answered

Hello, I am using pycharm professional 2018.1 on ubuntu 16.04.

 

The following example program behaves exactly as expected when using the run window (i.e. using shift-F10):

print('hello')

The result in the run window is, as expected: 

Notice the line starting with "Python 3.6.4". This line is a kind of fold with a different background and foreground color. I have no idea why it is folded or where to configure what should be folded and how. You can unfold this section by left-clicking on that line. The result is:

I do not know how to refold that section again. It seems that this thing is now permanently unfolded. I have not found anything in the documentation relating to this. 

 

Let's now get to the problem. Here is the program:

import pandas as pd
print('hello')

The program does not behave as the first program; the line 'hello' has now moved to the 'folded' region, and can not be seen unless you unfold the line starting with "Python 3.6.4" by clicking the line. Here is the output:

 

As you can see, there is no 'hello' in the output anymore. However, when you unfold the section, the following can be seen:

 

We see that the output is still there, but can only be seen if you click on the folded section. 

How does one configure the output window such that the output of the program can be seen without having to click on the folded region?

 

Thanks for any help, 

Bjoern

 

 

 

0
2 comments
Official comment

Hi! It's a known problem and it'll be fixed in PyCharm 2018.1.3 update: https://youtrack.jetbrains.com/issue/PY-29045

Please sign in to leave a comment.