Dataframe not showing in Pycharm

后端 未结 10 1410
旧时难觅i
旧时难觅i 2020-12-30 18:09

I am using PyCharm 2016.2.1 . When I try to view a Pandas dataframe through the newly added feature \'View as DataFrame\' in the debugger, this works as expected for a small

10条回答
  •  清酒与你
    2020-12-30 18:48

    As you said in your edit, there's a limit on the number of columns (on my PC though it's far less than 15). However, you can see the whole thing by typing:

    df.values
    

    It will show you the whole dataframe, but without the names of the columns.


    Edit:

    To show the column names as well:

    np.vstack([df.columns, df.values])
    

提交回复
热议问题