Below is the code, imported the data to data frame but unable to convert it into a list. Getting TypeError:'list' object is not callable
import pandas
import numpy
import random
dataframe = pandas.read_csv('data.csv')
list= ['Gender']
dataset = dataframe.drop(list, axis=1)
print(list(dataset))