pandas take certain columns code example
Example 1: python: select specific columns in a data frame
df = df[["Column_Name1", "Column_Name2"]]
Example 2: python pandas return column name of a specific column
# Basic syntax:
list(df.columns)[column_number]
# This returns the column name of the column of interest