with open('Taxi2.csv', 'ab') as f: #the one in the uuper position f.write(open('Taxi1.csv', 'rb').read()) # add Taxi1 to the end of Taxi 2
The simplest way to combine two csv file in python
最新推荐文章于 2023-11-14 18:45:33 发布
with open('Taxi2.csv', 'ab') as f: #the one in the uuper position f.write(open('Taxi1.csv', 'rb').read()) # add Taxi1 to the end of Taxi 2