how to get list of column name python code example Example: list of particular column in pandas dataframe print(df.columns)