79511349

Date: 2025-03-15 15:38:56
Score: 1
Natty:
Report link

For any one wondering how to view the content of pandas dataframe in Visual Studio 2022, the following can be done:

  1. Open 'Immediate Window' (Debug->Windows->Immediate)

  2. Optionally run the following commands in the immediate window once:

    pd.set_option('display.max_rows', None)
    pd.set_option('display.width', None)

    pd.set_option('display.max_columns', None)

  3. now type the variable name in immediate window and enter. You will see the data in the dataframe in the immediate window.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Pramod B R