Pretty print a pandas dataframe in VS Code

前端 未结 4 834
情歌与酒
情歌与酒 2021-02-07 03:45

I\'d like to know if it\'s possible to display a pandas dataframe in VS Code while debugging (first picture) as it is displayed in PyCharm (second picture) ?

Thanks for

4条回答
  •  甜味超标
    2021-02-07 04:13

    As of the January 2021 release of the python extension, you can now view pandas dataframes with the built-in data viewer when debugging native python programs. When the program is halted at a breakpoint, right-click the dataframe variable in the variables list and select "View Value in Data Viewer"

    DataViewerWhenDebugging

提交回复
热议问题