09 2022 档案
摘要:# %% import pandas as pd import numpy as np import matplotlib.pyplot as plt #解决中文显示问题 plt.rcParams['font.sans-serif'] = ['KaiTi'] # 指定默认字体 plt.rcParam
阅读全文
摘要:# %% import pandas as pd import numpy as np # %% df = pd.read_csv('标普500财务数据项目.csv', sep=',') # %% df # %% atq = df.iloc[:, [0,1,2,4]] niq = df.iloc[:
阅读全文
摘要:https://codeload.github.com/Kenguba/google-access-helper/zip/refs/heads/master 在以上网址下载对应的浏览器插件,然后按照说明安装浏览器拓展。 最后注册账号即可使用
阅读全文
摘要:generalized_word = np.array(generalized_word) generalized_word.tolist() generalized_word_list = [] for i in generalized_word: for j in i: generalized_
阅读全文
摘要:while np.nan in standard_word_list: standard_word_list.remove(np.nan)
阅读全文
摘要:单列 其中B就代表excel表中的列索引 standard_word = pd.read_excel('合并.xlsx', usecols='B') 多列 其中C:AK就代表excel表中的列索引 generalized_word = pd.read_excel('合并.xlsx', usecols
阅读全文
摘要:上方菜单栏中的“数据”选项卡 ——> “分列”。之后更改为特定的字符,然后即可进行分列操作
阅读全文
摘要:def guolv(ciyu): if '(' in ciyu: return 1 elif ',' in ciyu: return 2 else: return 3
阅读全文
摘要:时间排序 def get_file_list(file_path): dir_list = os.listdir(file_path) if not dir_list: return else: # 注意,这里使用lambda表达式,将文件按照最后修改时间顺序升序排列 # os.path.getmt
阅读全文
摘要:# %% import numpy as np import pandas as pd # %% message = '' path = r'' # %% name = pd.read_excel('命令词名字.xlsx', header=None) # %% name # %% # 将命名词修改为
阅读全文
摘要:https://www.microsoft.com/zh-CN/download/details.aspx?id=48145 在上方网址下载Visual C++ Redistributable for Visual Studio 2015,注意下载vc_redist.x86.exe版本的,然后安装。
阅读全文
摘要:sudo vim /etc/pulse/default.pa 然后在英文输入法下键入i,在文档最下方粘贴如下代码: #Active Noise Removal .ifexists module-echo-cancel.so load-module module-echo-cancel aec_met
阅读全文
摘要:sudo apt-get install snapd 在终端中输入如上命令并回车 参考资料:https://blog.csdn.net/Hesye/article/details/113730593
阅读全文
摘要:https://jingyan.baidu.com/article/d2b1d102cf998b5c7f37d442.html 按如上步骤操作即可,注意先添加增强功能
阅读全文
摘要:# %% [markdown] # Step1 提取出前1轮的关键词 # %% import pandas as pd head = pd.read_excel('前1轮相同电器.xlsx') tail = pd.read_excel('后1轮相同电器.xlsx') # %% key1 = head
阅读全文