摘要:
第一季度数据 """ 明确任务:比较共享单车每个季度的平均骑行时间"""import osimport numpy as npimport matplotlib.pyplot as pltdata_path = r'D:\mycode\minidata\bikeshare'data_filename 阅读全文
摘要:
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 阅读全文
摘要:
原表: 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 阅读全文
摘要:
流程 安装: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 阅读全文
摘要:
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 阅读全文