Answers for "read tsv file in python"

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)
Posted by: Guest on January-28-2021
-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
Posted by: Guest on May-13-2020

Python Answers by Framework

Browse Popular Code Answers by Language