cara mengambil kolom dari dataset di python

# Basic syntax:
new_dataframe = dataframe. filter(['col_name_1', 'col_name_2'])
# Where the new_dataframe will only have the column names specified.
data master tarun