上一页 1 2 3 4 5 6 7 8 9 10 ··· 35 下一页
摘要: import pandas as pd dfs = pd.read_excel("工作表.xlsx", sheet_name=None) # 添加新列 for df in dfs.values(): df.insert(9, "错误个数", pd.Series(), allow_duplicates 阅读全文
posted @ 2022-10-25 15:09 tiansz 阅读(60) 评论(0) 推荐(0)
摘要: import pandas as pd import json dfs = pd.read_excel("工作表.xlsx", sheet_name=None) def typecof(x): if type(x) == str: if ('{' in x): try: return json.lo 阅读全文
posted @ 2022-10-25 15:07 tiansz 阅读(150) 评论(0) 推荐(0)
摘要: # _*_coding:utf-8 _*_ import pandas as pd import numpy as np class baixi: # 初始化 def __init__(self): self.pd = pd self.deal_datas = pd.read_excel('done 阅读全文
posted @ 2022-10-25 15:04 tiansz 阅读(82) 评论(0) 推荐(0)
摘要: 鼠标选择列或者行,然后右键选择 “取消隐藏” 阅读全文
posted @ 2022-10-20 11:56 tiansz 阅读(185) 评论(0) 推荐(0)
摘要: eval(i) 阅读全文
posted @ 2022-10-18 17:40 tiansz 阅读(13) 评论(0) 推荐(0)
摘要: 文件名命名为了openpyxl.py,将文件名修改即可 阅读全文
posted @ 2022-10-18 15:54 tiansz 阅读(81) 评论(0) 推荐(0)
摘要: 添加如下代码: %config Completer.use_jedi = False 参考资料:https://blog.csdn.net/jameskaron/article/details/113745956 阅读全文
posted @ 2022-10-14 17:01 tiansz 阅读(110) 评论(0) 推荐(0)
摘要: pd.set_option('display.max_columns', None) # 显示完整的列 pd.set_option('display.max_rows', None) # 显示完整的行 pd.set_option('display.expand_frame_repr', False) 阅读全文
posted @ 2022-10-14 14:21 tiansz 阅读(830) 评论(0) 推荐(0)
摘要: sudo cp /etc/pulse/default.pa /etc/pulse/default.pa._bak sudo vim /etc/pulse/dafult.pa 在文件中添加如下代码: #Active Noise Removal .ifexists module-echo-cancel. 阅读全文
posted @ 2022-10-12 23:11 tiansz 阅读(235) 评论(0) 推荐(0)
摘要: df = pd.merge(df, df1, how='left', indicator=True).query("_merge=='left_only'").drop('_merge', 1) df = pd.merge(df, df2, how='left', indicator=True).q 阅读全文
posted @ 2022-10-12 17:38 tiansz 阅读(30) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 35 下一页