PYCHARM || Want to Disable: Variable values/dimensions showing up in code

Hi everyone,

I'd like to be able to disable the variable info being displayed in-line with the code.

See the attached screenshot ... I'm colorblind, and it is just too much text on the screen.

Can someone help?

Thanks!

0
6 comments

Hi, does it help to disable "Show values inline"? 

0
Avatar
Permanently deleted user

Hello Andrey! Unfortunately, that does not fix it - I initially thought it did, but it does not. I unchecked that box, but I still see things (like pandas dataframe dimensions) after the code on the same line. Any other recommendations?

0

This option should disable all inline values, unless I'm missing something. Could you please provide a minimal code sample that shows inline data with the option disabled?

0
Avatar
Permanently deleted user

Certainly. One note, I'm running this as an .ipynb inside PyCharm. Thank you for the help!

#%% md
### This code illustrates my problems with in-line values

#%%
import pandas as pd
import numpy as np

#%%
df2 = pd.DataFrame(np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]]),
columns=['a', 'b', 'c'])
df2

Image attached below. As you can see, the "In-Line Values" is unchecked, but I still get df2: {DataFrame: (3,3)} at the end.

0

Ah, I see, the Jupyter have a separate setting for this

 

0
Avatar
Permanently deleted user

Oh my goodness... Thank you!!! So much better! :D

0

Please sign in to leave a comment.