Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to open csv file in python

import pandas as pd # pip install pandas

#read the CSV file
data_file = =pd.read_csv('some_file.csv')
print(data_file)
Source by docs.python.org #
 
PREVIOUS NEXT
Tagged: #open #csv #file #python
ADD COMMENT
Topic
Name
3+1 =