Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

Error while reading a csv file in pandas

$
0
0

@james23 wrote:

Whenever i compiled the code above i get the following result :

SyntaxError: (unicode error) ‘unicodeescape’ codec can’t decode bytes in position 2-3:
truncated \UXXXXXXXX escape.

import numpy as np
import pandas as pd
import matplotlib as plt
df = pd.read_csv('C:\Users\ebene\Downloads\train_u6lujuX_CVtuZ9i.csv')
df.head(10)

What can i do to solve the issue?

Posts: 4

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles