Pretty print a pandas dataframe in VS Code

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

Leave a Comment