Pretty print a pandas dataframe in VS Code

前端 未结 4 841
情歌与酒
情歌与酒 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:16

    • use vs code jupyter notebooks support
    • choose between attach to local script or launch mode, up to you.
    • include a breakpoint() where you want to break if using attach mode.
    • when debugging use the debug console to:

      display(df_consigne_errors)
      

提交回复
热议问题