
python
氪州刺史
这个作者很懒,什么都没留下…
展开
-
[seaborn]relplot方法部分参数小结
目录方法签名参数kindhuestylesize 方法签名seaborn.relplot(x=None, y=None, hue=None, size=None, style=None, data=None, row=None, col=None, col_wrap=None, row_order=None, col_order=None, palette=N...翻译 2018-09-03 18:00:36 · 7765 阅读 · 0 评论 -
[seaborn]catplot方法部分参数小结
方法签名seaborn.catplot(x=None, y=None, hue=None, data=None, row=None, col=None, col_wrap=None, estimator=<function mean>, ci=95, n_boot=1000, units=None, order=None, hue_order=None, row_order=No...翻译 2018-09-05 14:38:57 · 9478 阅读 · 0 评论 -
Good logging practice in Python
from: https://fangpenlin.com/posts/2012/08/26/good-logging-practice-in-python/ In reality, logging is important. When you transfer money, there are transfer records. When an airplane is flying, bla...转载 2018-09-13 15:05:38 · 417 阅读 · 0 评论 -
Structuring Your Project
FROM: https://docs.python-guide.org/writing/structure/By “structure” we mean the decisions you make concerninghow your project best meets its objective. We need to consider how tobest leverage Pyt...转载 2018-09-18 17:48:40 · 588 阅读 · 0 评论 -
python PyDictObject对象学习小结
来自: <<python源码剖析>>Hash方案散列表+开放定址法创建PyDictObject先从对象缓冲池中取, 若没有, 则创建, 同时创建存储数据的表small_table[8]数据对象PyDictEntry有三种状态, unused, active, dummy. dummy的作用: 删除数据时, 并不真的删除(伪删除), 标记为du...原创 2018-11-07 11:03:38 · 744 阅读 · 0 评论 -
python/hive去除字符串两边的标点符号
目录pythonhive闲来无事, 处理一下正则表达式去除字符串两边的标点符号pythons=""""''& _+-' ..原创 2018-12-12 13:32:06 · 3570 阅读 · 0 评论 -
python, excel设置访问密码(文件级别)
FROM:https://stackoverflow.com/questions/27556751/unprotect-an-excel-file-programmatically安装 pywin32def Remove_password_xlsx(filename, pw_str): xcl = win32com.client.Dispatch("Excel.Applicat...翻译 2019-05-26 21:13:52 · 7189 阅读 · 0 评论