Answers for "read_csv only certain columns"

0

read_csv only certain columns

col_list = ["Name", "Department"]
df = pd.read_csv("sample_file.csv", usecols=col_list)
Posted by: Guest on June-27-2021

Code answers related to "read_csv only certain columns"

Python Answers by Framework

Browse Popular Code Answers by Language