select specific column from a data frame and then save it code example
Example: python - subset specific columns name in a dataframe
columns = ['b', 'c']
df1 = pd.DataFrame(df, columns=columns)
columns = ['b', 'c']
df1 = pd.DataFrame(df, columns=columns)