天宫鹤

03 2024 档案

Python获取指定目录(dest_dir)中的指定后缀(dest_suffix)的文件列表
摘要:# 获取指定目录(dest_dir)中的指定后缀(dest_suffix)的文件列表def get_files(dest_dir, dest_suffix='.xlsx'): list_files = [] for root, dirs, files in os.walk(dest_dir): fo 阅读全文

posted @ 2024-03-31 15:50 GoGrid 阅读(28) 评论(0) 推荐(0) 编辑

WPS Office这样查看更改文档信息
摘要:文件->文档加密->属性。 阅读全文

posted @ 2024-03-31 15:21 GoGrid 阅读(28) 评论(0) 推荐(0) 编辑

PyCharm 2023.3.5 (Professional Edition)这样永久激活!!!简单!!!有效!!!
摘要:请转到以下网址: https://blog.csdn.net/g89898guo/article/details/136834460 阅读全文

posted @ 2024-03-28 21:21 GoGrid 阅读(536) 评论(0) 推荐(0) 编辑

pandas之DataFrame的date数据类型正确的转换方法!!!
摘要:错误:df['date'] = df['date'].astype('datetime64')正确: (1)df['date'] = df['date'].astype('datetime64[ns]') ns纳秒 (2)df['date'] = df['date'].astype('datetim 阅读全文

posted @ 2024-03-24 18:43 GoGrid 阅读(130) 评论(0) 推荐(0) 编辑

Python中pandas.read_excel()使用usecols参数会报错!!!!!!!!!
摘要:pandas.read_excel()使用usecols参数会报错!!!!!!!!! 解决方法:弃之不用。 阅读全文

posted @ 2024-03-23 22:19 GoGrid 阅读(116) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

点击右上角即可分享
微信分享提示