To get the column names in Pandas dataframe you can type print(df.columns)given that your dataframe is named "df". There are, of course, at least 5 other options for getting the column names of your dataframe (e.g., sorted(df)).