摘要: 在导入Pandas包时,会报如下错误: ImportError: C extension: No module named 'pandas._libs' not built. If you want to import pandas from the source directory, you ma 阅读全文
posted @ 2021-03-16 16:10 yongqi-911 阅读(1519) 评论(0) 推荐(0) 编辑
摘要: 一 https://www.cnblogs.com/YingLai/p/9291768.html cd 到csv文件目录下 df = pd.read_csv('fiename.csv') # 读取csv文件方式一 # 读取csv文件方式er df = open('filename.csv') df. 阅读全文
posted @ 2021-03-16 15:47 yongqi-911 阅读(120) 评论(0) 推荐(0) 编辑
摘要: from openpyxl import load_workbookimport pandas as pdclass Write_to_excel(): def __init__(self,src,sheet,df): if src is None or sheet is None or df is 阅读全文
posted @ 2021-03-16 15:20 yongqi-911 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 新增参数 https://zhuanlan.zhihu.com/p/56922793 学习网址 """ # @Time : 2021/2/1 15:05 # @Author : Gina Gao # @File : # @Software: PyCharm # @Descript: """ # # 阅读全文
posted @ 2021-03-16 14:34 yongqi-911 阅读(76) 评论(0) 推荐(0) 编辑