Reading data from a CSV file in Python
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Reading data from a CSV file in Python
import csv
with open(“emps.csv”, “r”) as r:
data = csv.reader(r)
final_data = list(data)
for row in final_data:
print(row)