I have a CSV file taken from an SQL dump that looks like this (the first few lines using head file.csv from the terminal):
??AANAT,AANAT1576,4 AANAT,AANAT1704,1 AAP,AAP-D-12-00691,8 AAP,AAP-D-12-00834,3
When I use the pd.read_csv ('file.csv') command, I get the error “ValueError: No columns to parse from file”.
Any ideas on how to import a CSV file into a table and avoid the error?
QUESTION DEVELOPMENT (after Ed comment)
I tried header = None, skiprows = 1 to avoid ?? (which appear when using the head command from the terminal).
Path to extract the file http://goo.gl/jyYlIK
python pandas csv
user7289
source share