# Import pandas package import pandas as pd # making data frame data = pd.read_csv("nba.csv") # list(data) or list(data.columns)