自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 httputil.py - Invalid x-www-form-urlencoded body: ‘latin-1‘ codec can‘t encode characters in posi...

httputil latin-1

2022-07-29 17:33:19 703

原创 (Session info: chrome=99.0.4844.84) (Driver info: chromedriver=70.0.3538.97

windows服务器 selenium遇到的问题

2022-07-15 11:12:41 1026

原创 mapper [pos] of different type, current_type [geo_point], merged_type [ObjectMapper]

我在使用es7.1版本碰到的问题:mapper [pos] of different type, current_type [geo_point], merged_type [ObjectMapper]是因为新增数据请求接口必须要用_doc正确的用法:PUT index_name/_doc/id

2022-03-30 12:02:42 279

原创 比较简单的一种快速排序方法

快速排序def quicksort(head, tail): head1 = head tail1 = tail tmp = arr[head] # 储存临时元素 # 如果头指针小于尾指针一直循环,直到相等找到元素的正确索引跳出循环 while head < tail: # 尾部数据大于临时元素,尾指针前移 while arr[tail] > tmp and head < tail:

2020-05-27 12:51:44 252

原创 Pandas常用方法

参考文章from Pandas as pdpd.read_csv()pd.read_excel(‘1.xlsx’,sheet_name=[‘python’,‘student’])pd.DataFrame(result, columns=head)pd.to_excel()pd.to_sql(‘test_cjk’,engine 1,if_exists=‘replace’,index =...

2019-10-25 11:43:45 95

原创 常用的一些Vim命令

G 移动到最后 ggdd 剪贴当前行 ndd d1G dGyy 复制当前行 nyyp下一行粘贴 Pu撤销 Ctrl+r重做I 行首 A 行尾 o下一行 O:%s/word/word1/gc c询问:1,4s/str/str/g:set nu 设置行号:nohl 可以取消高亮D 从当前位置删除到行尾 (“d$” 的缩写)q:历史命令框n查找下一条 NR替换输入...

2019-10-24 14:26:23 74

原创 Mac下Item2改变fish目录颜色

fish会默认使用linux的文件颜色配置,linux系统默认目录颜色是蓝色的,在黑背景下看不清楚。设置目录颜色为青色在~/.bash_profile下增加下面两行代码export CLICOLOR=1export LSCOLORS=Gxbxaxdxcxegedabagacad显示效果如下:...

2019-10-18 12:01:27 526

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除