Pandas append with header once

If you want to append row to empty CSV and only adding the header column once, you need to firstly append all of these DataFrame, and then save them to CSV.


On the contrary, if you save the newData to CSV after each append, the header will be show multiple times. 

你可能感兴趣的:(Pandas append with header once)