ZKK
ZKK

Reputation: 781

how to read a csv like this using pandas?

enter image description here

I have tried pd.read_csv('../input/nasdaq-list/nasdaq-companies.csv',error_bad_lines=False,delimiter='\t') but still with the same result.

Thanks.

Upvotes: 0

Views: 31

Answers (2)

NYC Coder
NYC Coder

Reputation: 7604

You should just use this:

pd.read_csv('../input/nasdaq-list/nasdaq-companies.csv', error_bad_lines=False, sep=';')

Upvotes: 2

Emil Wåreus
Emil Wåreus

Reputation: 41

The delimiter should probably be set to ';'

Hope it works!

Upvotes: 1

Related Questions