how to make a new dataframe with certain columns code example
Example: python create new pandas dataframe with specific columns
# Basic syntax:
new_dataframe = old_dataframe.filter(['Columns','you','want'], axis=1)
# Basic syntax:
new_dataframe = old_dataframe.filter(['Columns','you','want'], axis=1)