摘要: https://www.jb51.net/article/137888.htm还有其他若干方法。 阅读全文
posted @ 2021-05-12 10:47 bH1pJ 阅读(314) 评论(0) 推荐(0) 编辑
摘要: 挑选了从第2行到最后一行。以及第1,2列,4,5列,7,8列,10,11列dfData2 = dfData.iloc[2:,[1,2,4,5,7,8,10,11]] 阅读全文
posted @ 2021-05-12 10:46 bH1pJ 阅读(368) 评论(0) 推荐(0) 编辑
摘要: fileRootPath = r'a/b/c/d/'if any(name.endswith(('.mp4')) for name in os.listdir(fileRootPath): print(fileName + ' DLC results f... 阅读全文
posted @ 2021-05-12 10:35 bH1pJ 阅读(274) 评论(0) 推荐(0) 编辑
摘要: Python 获取路径下 指定类型的所有文件 坑 def formPMStrgetOldName(PMStr): rootPath = r'D:\x\s\d\d' dirs = os.listdir(rootPath) for ... 阅读全文
posted @ 2021-05-12 10:32 bH1pJ 阅读(260) 评论(0) 推荐(0) 编辑