![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
基础代码能力
weixin_43407382
清华大学大数据在读,欢迎同行交流
展开
-
字符串去中间的换行符
前言 哈哈哈,第一个博客,程序媛报道!长长记性激励自己~ print(’Hello world‘) 问题 The inputs modeled for this activity are seen as originating from other activities of the manufacturing enter- prise, or possibly from sources ex...原创 2019-10-06 12:10:13 · 269 阅读 · 0 评论 -
字典写入表格
字典写入表格csv 方法1 通过调用pandas import pandas with open('写入的文件',’wb') as f: pandas.DataFrme(dict).tocsv('你想存入的文件') 方法2 调用csv import csv with open('写入的文件',’wb') as f: writer = csv.writer(f) writer.writero...原创 2019-10-09 15:00:58 · 738 阅读 · 0 评论