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()
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?
答案 0 :(得分:9)
似乎JetBrains已经意识到这个问题,并希望很快能解决这个问题。
您可以通过PyCharm问题跟踪器跟踪更新开发: