上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 96 下一页
摘要: 第一季度数据 """ 明确任务:比较共享单车每个季度的平均骑行时间"""import osimport numpy as npimport matplotlib.pyplot as pltdata_path = r'D:\mycode\minidata\bikeshare'data_filename 阅读全文
posted @ 2021-01-02 15:17 干it的小张 阅读(202) 评论(0) 推荐(0) 编辑
摘要: import matplotlib.pyplot as plt# 用来正常显示中文标签plt.rcParams['font.sans-serif'] = ['SimHei']date = ['2018/7/21', '2018/7/22', '2018/7/23', '2018/7/24', '20 阅读全文
posted @ 2021-01-01 22:09 干it的小张 阅读(455) 评论(0) 推荐(0) 编辑
摘要: 原表: import pandas as pdimport numpy as npe_file = pd.ExcelFile(r"D:\mycode\files\7月下旬入库表.xlsx")data = e_file.parse('7月下旬入库表')pt1 = pd.pivot_table(data 阅读全文
posted @ 2021-01-01 21:12 干it的小张 阅读(352) 评论(0) 推荐(0) 编辑
摘要: 流程 安装:pip install python-doc -i https://pypi.tuna.tsinghua.edu.cn/simple pip install python-docx from docx import Documentfrom docx.enum.text import W 阅读全文
posted @ 2021-01-01 18:53 干it的小张 阅读(626) 评论(0) 推荐(0) 编辑
摘要: import osimport xlwtfile_dir = 'c:/'os.listdir(file_dir)new_workbook = xlwt.Workbook()worksheet = new_workbook.add_sheet("new_test")n = 0for i in os.l 阅读全文
posted @ 2021-01-01 17:42 干it的小张 阅读(118) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 96 下一页