Pd.set_options('display.max_columns', None)

Hi,

Why can I not see all my columns in my dataframe?

I use => pd.set_option(‘display.max_columns‘, None)

mystery?

thank you in advance for your help

That looks right to me. Sometimes I do something like
pd.set_option('display.max_columns', len(df.columns))

I only recently learned about

display.max_info_columns : int
    max_info_columns is used in DataFrame.info method to decide if
    per column information will be printed.
    [default: 100] [currently: 100]

Maybe you’re running into that?

Thank for the answer Tim. I tried your suggestion and it is working unfortunately. bizarre….. I will kept you posted if I find a solution. By the way, Happy new Year and thank you again for the help!

Glad I could help. I’d be interested if you find the real solution. Happy New Year!