how to read tsv file python

Solutions on MaxInterview for how to read tsv file python by the best coders in the world

showing results for - "how to read tsv file python"
Silvia
03 Apr 2017
1with open("file.tsv") as fd:
2    rd = csv.reader(fd, delimiter="\t", quotechar='"')
3    for row in rd:
4        print(row)
Delany
23 Jan 2018
1Time                ID_1    ID_2               
22020-02-25 09:24:14 140209  81625000
32020-02-25 09:24:14 140216  91625000
42020-02-25 09:24:18 140219  80250000
52020-02-25 09:24:18 140221  90250000
625/02/2020 09:42:02     143982  39075000