
python
文章平均质量分 90
呜呜呜小吴莫哭
这个作者很懒,什么都没留下…
展开
-
Python导出csv中文乱码utf_8_sig没用
这里写自定义目录标题问题描述python读写文件基本操作网络上的解决方法我遇到的问题我的尝试解决解决过程解决思路使用python中to_csv()解决乱码问题需要注意根本原因问题描述python读写文件基本操作在数据过滤操作中,常常需要对源文件(source)中的数据进行读取、分析、判别处理,而后再写入新的文件。在文件的读取上可以是.xlsx也可以是.csv,使用pandas如:pd.read_excel("source.xlsx"),可以对excel文件轻松读取,同样也可以读取csv文件。但在文件的原创 2021-05-04 01:10:19 · 2257 阅读 · 6 评论 -
python openpyxl包excel 绘制 线性图表
https://openpyxl.readthedocs.io/en/stable/charts/line.html说明:来自英文手册未翻译Line ChartsLine charts allow data to be plotted against a fixed axis. They are similarto scatter charts, the main difference is that with line charts each dataseries...原创 2020-09-06 22:11:42 · 1381 阅读 · 0 评论 -
原生 python 安装,pip版本错误
纯python安装: 单纯安装 python 的源文件官网下载链接:https://www.python.org/downloads/windows/ windows 下载版本:Download Windows x86-64 executable installer错误一:(pip错误) 描述:使用 pip 安装 任意软件时提示版本错误,安装经常性失败,偶尔成功,警告如下:WARNING: You are using pip version 19.2.3, however version原创 2020-08-30 20:56:07 · 820 阅读 · 0 评论 -
python使用中需要注意的错误
1. list.append 已有的值被改变,新值覆盖所有旧值global xplot_scat_dit = {}plot_scat_list = []for i in range(numOfNodes): xx = x[i].x yy = x[i].y plot_scat_dit["x"] = xx plot_scat_dit["y"] = yy plot_scat_list.append(plot_scat_dit)print(plot原创 2020-08-19 16:29:27 · 286 阅读 · 0 评论