When I output a dataframe from a cell using jupyter notebook in Pycharm it won't display unless the width of the dataframe fits in the window. Hence, in cases where the width is wider than the window width, only a white line is produced, while I was expecting part of the dataframe as well as a horizontal scrollbar to show. Running the following:
import pandas as pd
import numpy as np
import string
multiplier = 2
col = [x for x in string.ascii_lowercase] * multiplier
df = pd.DataFrame(columns=col)
pd.set_option('display.max_columns', None)
df.head()
produces:
But when the dataframe becomes too wide (multiplier=4), I get:
As mentioned before, I was hoping a horizontal scrollbar would show as it does conventionally. Does anyone have an idea why it's not working?