I am trying to read data from a tsv-file, but the format of the file is on the form
nm0007219 Donald Cook tt0042819
nm0457839 John Kitzmiller tt0045018 tt0042692
nm0777743 Karl Schwetter tt0043483 tt0049422 tt0044322 tt0047989
I get the error:
pandas.errors.ParserError: Error tokenizing data. C error: Expected 3 fields in line 2, saw 5 My current code looks like this
TSV_file = pd.read_csv(filename, sep='\t', header=None)
Ultimately my goal is to find the amount of edges in the dataset