Jul-13-2020, 03:21 PM
Hi!
I want to run the under mentioned code:
import csv
%precision 2
with open(C\Users\LENOVO\Documents\'mpg.csv') as csvfile:
mpg = list(csv.DictReader(csvfile))
But I am getting the error as:
File "<ipython-input-5-e14b7d279de2>", line 5
with open(C\Users\LENOVO\Documents\'mpg.csv') as csvfile:
^
SyntaxError: unexpected character after line continuation character
May kindly help.
I want to run the under mentioned code:
import csv
%precision 2
with open(C\Users\LENOVO\Documents\'mpg.csv') as csvfile:
mpg = list(csv.DictReader(csvfile))
But I am getting the error as:
File "<ipython-input-5-e14b7d279de2>", line 5
with open(C\Users\LENOVO\Documents\'mpg.csv') as csvfile:
^
SyntaxError: unexpected character after line continuation character
May kindly help.