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