python read tsv files code example
Example 1: how to read tsv file python
with open("file.tsv") as fd:
rd = csv.reader(fd, delimiter="\t", quotechar='"')
for row in rd:
print(row)
Example 2: reading tsv file in python
Time ID_1 ID_2
2020-02-25 09:24:14 140209 81625000
2020-02-25 09:24:14 140216 91625000
2020-02-25 09:24:18 140219 80250000
2020-02-25 09:24:18 140221 90250000
25/02/2020 09:42:02 143982 39075000