Issue
My Code :
df1=pd.read_csv(r'C:\Users\YUNUS'S LAPTOP\Desktop\Book1.csv')
df1
Error I get :
Input In [20]
df1=pd.read_csv(r'C:\Users\YUNUS'S LAPTOP\Desktop\Book1.csv')
^
SyntaxError: invalid syntax
Solution
use "
rather than '
for the bonds of the string, like so
df1 = pd.read_csv(r"C:\Users\YUNUS'S LAPTOP\Desktop\Book1.csv")
Answered By - Patrick
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.