2021年6月22日

Excel VBA 从Excel中批量导出图片

摘要: Sub 产品图片导出重新对应命名() Dim Ad$, FileName$, sfolder$, Shp As Shape, FSO Application.ScreenUpdating = False On Error Resume Next Set FSO = CreateObject("Scr 阅读全文

posted @ 2021-06-22 13:11 Learning_logs 阅读(1213) 评论(0) 推荐(0)

2020年9月3日

Excel 公式offset

摘要: 原文来自于ExcelHome微信公众号2020-09-03分享内容,仅做收集记录使用。 1、函数作用: 用于生成数据区域的引用,再将这个引用作为半成品,作为动态图表的数据源、或是作为其他函数的参数,进行二次加工。 2、函数用法: =OFFSET(基点,偏移的行数,偏移的列数,[新引用的行数],[新引 阅读全文

posted @ 2020-09-03 16:36 Learning_logs 阅读(910) 评论(0) 推荐(0)

2020年6月13日

Python Semaphore控制多线程并发数

摘要: 参考链接:https://blog.csdn.net/qq_39850969/article/details/86666620 1 if __name__ == '__main__': 2 # # 设置开始、结束日期,间隔天数 3 start_date = '2019-07-16' 4 end_da 阅读全文

posted @ 2020-06-13 13:25 Learning_logs 阅读(226) 评论(0) 推荐(0)

2020年5月28日

conda 安装第三方库

摘要: 一般conda install +库名就可以了,如果不行的话,用conda install -c conda-forge + 库名 阅读全文

posted @ 2020-05-28 15:02 Learning_logs 阅读(3242) 评论(0) 推荐(0)

Python 正则表达式 捕获组和非捕获组

摘要: 参考链接:https://www.cnblogs.com/kevin-yuan/archive/2012/11/11/2765340.html 我希望的匹配结果是这样的 >>> d 'a1a2a3a4a5a6' >>> re.findall(r'(?:\w\d){5}',d) ['a1a2a3a4a 阅读全文

posted @ 2020-05-28 11:32 Learning_logs 阅读(2312) 评论(0) 推荐(0)

2020年5月22日

线性回归算法

摘要: 转载自https://blog.csdn.net/lisi1129/article/details/68925799 阅读全文

posted @ 2020-05-22 15:35 Learning_logs 阅读(99) 评论(0) 推荐(0)

2020年5月21日

KNN近邻算法

摘要: 存在一个样本数据集合,也称作训练样本集,并且样本集中每个数据都存在标签,即我们知道样本集中每一数据 与所属分类的对应关系。输人没有标签的新数据后,将新数据的每个特征与样本集中数据对应的 特征进行比较,然后算法提取样本集中特征最相似数据(最近邻)的分类标签。一般来说,我们 只选择样本数据集中前K个最相 阅读全文

posted @ 2020-05-21 14:18 Learning_logs 阅读(180) 评论(0) 推荐(0)

2020年5月20日

python numpy 多维度求和

摘要: a = np.random.randint(0,100,size=(2,3,4,5)) a 对某一维度求和,可以理解为用和消除该维度,如对维度0求和,求和结果的维度是(3,4,5),那么就是用维度0对应位置的和(如第一个值32+98)来消除维度0的第一个值,其他值依次类推。如果是对维度1求和,就是用 阅读全文

posted @ 2020-05-20 10:20 Learning_logs 阅读(3151) 评论(0) 推荐(0)

2020年5月19日

安全库存计算

摘要: 原文链接:https://wiki.mbalib.com/wiki/%E5%AE%89%E5%85%A8%E5%BA%93%E5%AD%98 安全库存 安全库存(Safety Stock,SS) 什么是安全库存 安全库存(又称保险库存,德文:Sicherheitsbestand)是指当不确定因素(订 阅读全文

posted @ 2020-05-19 15:39 Learning_logs 阅读(3204) 评论(0) 推荐(0)

复制文件和删除文件

摘要: import osimport shutildef CopyFile(original_path,target_path,choose_item): # get all file path under the given folder path_list = [] list1 = os.listdi 阅读全文

posted @ 2020-05-19 12:02 Learning_logs 阅读(236) 评论(0) 推荐(0)

导航