- 博客(5)
- 收藏
- 关注
原创 如何在Excel的一列中查找其是否包含指定单元格的值
需求:在H列中查找是否该列有包含A列指定单元格的值卡头的单元格,如果有,则返回H列对应单元格的值解决方案:使用excel 公式=INDEX(H:H,XMATCH(A2 & “*”,H:H,2))
2021-07-24 21:34:38 5097
原创 用Python实现的把列表元素按长度分组的方法, 超简单
strLst = [‘Insert’, ‘key’,‘with’,‘a’,‘value’,‘of’,‘default’,‘if’,‘key’,‘is’,‘not’,‘in’,‘the’,‘dictionary’]strLst.sort()d={}for word in strLst:d.setdefault(len(word), []).append(word) #Insert key with a value of default if key is not in the dictionary
2021-05-13 16:07:20 869
原创 如何在使用IntelliJ IDEA调试时不进入class文件中去
如何在使用IntelliJ IDEA调试时,不进入class文件中去Do not step into the classes. Improve the debug stepping speed and specify the elements to be skipped while stepping.在配置页面 Stepping 中用 +? 把不想 Step into的classes 加到列表里就可以了。...
2021-04-09 09:30:18 1508
原创 如何用python连接Oracle数据库并往现有的excel文件添加内容
import pandas as pdfrom openpyxl import load_workbook#these 4 lines below will make sure the existing worksheet will be keptbook = load_workbook(fileName)writer = pd.ExcelWriter(fileName, engine='openpyxl')writer.book = bookwriter.sheets = dict((ws.
2021-04-09 09:01:05 141
原创 如何在Cent OS 7上安装apache mod_security模块
步骤yum clean all && yum update -y && yum install httpd -y如果执行 步骤1失败则做下边的操作vi /etc/yum.repos.d/CentOS-Base.repo 加入如下内容[base]name=CentOS-releasever−Basemirrorlist=http://mirrorlist.centos.org/?release=releasever - Basemirrorlist=http://
2020-06-20 15:38:02 372
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人