For any one wondering how to view the content of pandas dataframe in Visual Studio 2022, the following can be done:
Open 'Immediate Window' (Debug->Windows->Immediate)
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)
now type the variable name in immediate window and enter. You will see the data in the dataframe in the immediate window.