get columns df panda code example Example: list of particular column in pandas dataframe print(df.columns)