摘要: 默认在open(‘data.csv’,'w+')模式下会有空行。在open后面添加newline=‘’ 即可解决。 https://stackoverflow.com/questions/41045510/pandas-read-csv-ignore-rows-after-a-blank-line 阅读全文
posted @ 2017-08-27 11:12 uxiuxi 阅读(368) 评论(0) 推荐(0)