read csv only certain columns

Solutions on MaxInterview for read csv only certain columns by the best coders in the world

showing results for - "read csv only certain columns"
Maximilian
27 Aug 2016
1col_list = ["Name", "Department"]
2df = pd.read_csv("sample_file.csv", usecols=col_list)
3