Selenium开发一 代理
摘要:https://www.cnblogs.com/ithomer/p/9327052.html
阅读全文
Selenium开发一 PO设计模式
摘要:参考链接: https://github.com/SEtester/easy_POM https://www.cnblogs.com/snailrunning/p/10163159.html
阅读全文
Django 数据库模块 单独使用
摘要:Entity.py test_db.py 两个文件放在同一个目录...
阅读全文
Fix Python 3 on Windows error Microsoft Visual C++ 14.0 is required
摘要:Fix Python 3 on Windows error Microsoft Visual C++ 14.0 is required Fix the error for Python on Windows: error Microsoft Visual C++ 14.0 is required a
阅读全文
对NumPy中dot()函数的理解
摘要:对NumPy中dot()函数的理解 今天学习到numpy基本的运算方法,遇到了一个让我比较难理解的问题。就是dot函数是如何对矩阵进行运算的。 一、dot()的使用 参考文档:https://docs.scipy.org/doc/numpy/reference/generated/numpy.dot
阅读全文
python子进程模块subprocess详解
摘要:subprocess--子进程管理器一、subprocess 模块简介subprocess最早是在2.4版本中引入的。subprocess模块用来生成子进程,并可以通过管道连接它们的输入/输出/错误,以及获得它们的返回值。它用来代替多个旧模块和函数:os.systemos.spawn*os.pope
阅读全文
python的shutil模块
摘要:shutil:高级的 文件、文件夹、压缩包 处理模块 shutil.copyfileobj(fsrc, fdst[, length])(copyfileobj方法只会拷贝文件内容)将文件内容拷贝到另一个文件中 shutil.copyfile(src, dst) (copyfile只拷贝文件内容)拷贝
阅读全文
Python3使运行暂停的方法
摘要:在Python3中已经有很大一部分语句与Python2不互通了,运行暂停的方法也有所不同。 1、input(); 这种方法不用包含模块,因此这也是最常用的一种暂停手段。 Python2中的raw_input()和input()语句在Python3中已经被合并到input()中。 2、os.syste
阅读全文
thrift
摘要:https://github.com/bayandin/thrift-examples
阅读全文
jupyter notebook 代码自动补齐插件
摘要:安装: 1、 pip install jupyter_contrib_nbextensions -i https://pypi.mirrors.ustc.edu.cn/simple 2、 jupyter contrib nbextension install --user 安装nbextension
阅读全文
服务器安装pip
摘要:1、 2、 3、 4、 5、 6、 7、 8、出现以下原因是因为配置不符合... 9、如果ping google.com 不能通; If you need to replace a banned IP with a clean IP, there are two options available
阅读全文
TF-IDF原理及使用
摘要:1、TF-IDF(Term Frequency-Inverse Document Frequency, 词频-逆文件频率).(逆文档词频) 2、自我理解: 公式TF =
语料库中关键词出现的次数总词数量 ##权重w (词频) 或者 TF = $$\frac{某个词在文章中出
阅读全文
Python Join
摘要:dt = searchfor = ['og', 'at'] dt = '|'.join(dt)
阅读全文
pandas 常用清洗数据(三)排序,去重
摘要:1、排序 DataFrame 按照Index排序 Series.order()进行排序,而DataFrame则用sort或者sort_index或者sort_values 2、去重,
阅读全文
pandas 常用清洗数据(二)
摘要:1、 2、 2、copy and value_counts 3, add del 4、筛选:
阅读全文
pandas 常用清洗数据(一)
摘要:数据源获取: https://www.kaggle.com/datasets 1、
阅读全文