title: Error while reading csv file (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
body: <p>I am trying to read a csv file in python(jupyter notebook) but getting an error. Below is the code:</p>
  
  <pre><code>import sys
  import pandas as pd
  import scipy
  import numpy as np
  import seaborn as sns
  import matplotlib
  import sklearn
  import matplotlib.pyplot as plt
  pwd
  data = pd.read_csv("C:\Users\DELL\Desktop\creditcard.csv")
  </code></pre>
  
  <p>SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape</p>
  
  <p><a href="https://i.stack.imgur.com/l6kl7.png" rel="nofollow noreferrer">https://i.stack.imgur.com/l6kl7.png</a></p>
  
  <p>Edit: I've tried all of the following and still getting the same error.</p>
  
  <pre><code>data = pd.read_csv("C:\Users\DELL\Desktop\creditcard.csv")
  data = pd.read_csv("C:\\Users\\DELL\\Desktop\\creditcard.csv")
  data = pd.read_csv(r"C:\Users\DELL\Desktop\creditcard.csv")
  data = pd.read_csv(r"C:\\Users\\DELL\\Desktop\\creditcard.csv")
  
  data = pd.read_csv("C:/Users/DELL/Desktop/creditcard.csv")
  data = pd.read_csv("C://Users//DELL//Desktop//creditcard.csv")
  data = pd.read_csv(r"C:/Users/DELL/Desktop/creditcard.csv")
  data = pd.read_csv(r"C://Users//DELL//Desktop//creditcard.csv")
  </code></pre>
  
  <p>Also, I've tried all of them with a single quote (') but its no use. Here's a picture of the file details:  <a href="https://i.stack.imgur.com/NmeoB.png" rel="nofollow noreferrer">https://i.stack.imgur.com/NmeoB.png</a></p>