上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 96 下一页
摘要: import pandas as pd# 生成数组print(pd.Series([1, 2, 3, 4]))print("1, ") # 查看索引信息print(pd.Series([1, 2, 3, 4]).index)print("2, ") # 有定义的输出print(pd.Series([ 阅读全文
posted @ 2021-01-03 17:09 干it的小张 阅读(444) 评论(0) 推荐(0)
摘要: 第一季度数据 """ 明确任务:比较共享单车每个季度的平均骑行时间"""import osimport numpy as npimport matplotlib.pyplot as pltdata_path = r'D:\mycode\minidata\bikeshare'data_filename 阅读全文
posted @ 2021-01-02 15:17 干it的小张 阅读(258) 评论(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的小张 阅读(476) 评论(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的小张 阅读(365) 评论(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的小张 阅读(730) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 96 下一页