pandas sub dataframe with specific columns selected 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)