Dataframe not showing in Pycharm

后端 未结 10 1424
旧时难觅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 19:09

    In the case that you don't strictly need to use the functionalities given by the DataFrame viewer, you can print the whole DataFrame in the output window, using:

    def print_full(x):
        pd.set_option('display.max_rows', len(x))
        print(x)
        pd.reset_option('display.max_rows')
    

提交回复
热议问题