上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 22 下一页
摘要: import pandas as pd from datetime import date,timedelta import time # 月份累加 def add_month(d, md): yd = md // 12 # 整除 m = d.month + md % 12 if m != 12: 阅读全文
posted @ 2021-02-17 20:04 火焰马 阅读(58) 评论(0) 推荐(0) 编辑
摘要: d = {"x":100, "y":200, "z":300} s1 = pd.Series(d) print(s1) print(s1.index) print(s1.values) # ? x行y列 ######################################## L1 = [1 阅读全文
posted @ 2021-02-17 20:02 火焰马 阅读(51) 评论(0) 推荐(0) 编辑
摘要: import pandas as pd # 创建excel : 有数据 df = pd.read_excel("C:/Users/123/Desktop/pandas/002 读写文件/books.xlsx") print(df.shape) # 打印行列 - 总共行列个数 print(df.col 阅读全文
posted @ 2021-02-17 20:01 火焰马 阅读(44) 评论(0) 推荐(0) 编辑
摘要: /* 目录: 一 创建文件 二 资料下载 */ 一 创建文件 import pandas as pd # 创建excel : 有数据 df = pd.DataFrame() df.to_excel("C:/learn_python/output.xlsx") print("Done") # 创建ex 阅读全文
posted @ 2021-02-17 19:57 火焰马 阅读(38) 评论(0) 推荐(0) 编辑
摘要: ''' 时间:2021/02/12 功能:PyCharm 设置 目录: 一: 第三方库 1 方式 2 解决 ''' 一: 第三方库 1 方式 ''' 1 Available Packages 2 Terminal ''' 2 解决 ''' 1 使用vpn 2 国内镜像: Manage Reposit 阅读全文
posted @ 2021-02-12 01:14 火焰马 阅读(84) 评论(0) 推荐(0) 编辑
摘要: # 读取文件 class ExcelUtil(): def __init__(self, excel_path, sheet_name="int_lp"): self.data = xlrd.open_workbook(excel_path) self.table = self.data.sheet 阅读全文
posted @ 2021-01-25 00:11 火焰马 阅读(39) 评论(0) 推荐(0) 编辑
摘要: /* 时间:2021/01/11 目录: 一 保存文档 */ 压缩包: 链接 阅读全文
posted @ 2021-01-11 16:15 火焰马 阅读(59) 评论(0) 推荐(0) 编辑
摘要: /* 苹果电脑 基本操作: 1 创建文本文件 2 快捷键: (1) 切换程序 (2) 关闭当前程序 (3) 关闭当前文件夹 (3) 最小化当前成材 3 触摸板: (1) 单指: 打开、执行 (2) 双指: 操作、放大/缩小 (3) 三指: 拖拽 (4) 四指: 显示桌面 (5) 改变二指操作 4 下 阅读全文
posted @ 2021-01-10 23:58 火焰马 阅读(338) 评论(0) 推荐(0) 编辑
摘要: /* 目录: 一 总结 二 全文 三 链接 */ 一 总结 二 全文 三 链接 https://zhuanlan.zhihu.com/p/271732707 阅读全文
posted @ 2020-11-30 11:38 火焰马 阅读(172) 评论(0) 推荐(0) 编辑
摘要: ''' 时间:2020/10/28 功能:初始化session 目录: 一: headers 二: cookies ''' 一: headers # 初始化 - headers header = { "Connection": "keep-alive", "Accept":"application/ 阅读全文
posted @ 2020-10-28 15:05 火焰马 阅读(150) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 22 下一页