create a new dataframe from existing dataframe 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)