Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

read_csv only certain columns

col_list = ["Name", "Department"]
df = pd.read_csv("sample_file.csv", usecols=col_list)
Source by www.kite.com #
 
PREVIOUS NEXT
Tagged: #columns
ADD COMMENT
Topic
Name
7+2 =