I have a text file as follows:
Movie_names Rating
"A" 10
"B" 6.5
The text file is tab delimited. Some movie titles are enclosed in a double quote. How to read it into a pandas dataframe with the quotes removed from the movie names?
I tried using the following code:
import pandas as pd
data = pd.read_csv("movie.txt")
However, it says there is a Unicode decode error. What should be done?