create dataframe with only specific 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)