eri数据科学的通用功能
eri的Python项目详细描述
#埃里比
此软件包包含用于Elder Research,Inc.数据科学的常用功能和模块。
##子模块
这里提供的只是一个关于在eri中可用的内容的高层讨论。有关详细说明,请参阅子模块级的自述文件,当然还有功能文档。如果上述任何一个都不存在,请寻找作者并无情地羞辱他们
###eri.clean
用于清理数据的有用函数(通常假定pandas数据帧)。
###eri.config
共享配置详细信息。
###eri.html
HTML解析和咀嚼实用程序。
###eri.validate
用于验证我们拥有的数据的有用函数(通常只是记录有关特定数据帧的有用事实)。
##测试
要进行测试,请安装pytest和coverage,然后运行以下命令:
` python # run all tests coverage run -m pytest `
` python # print coverage statistics coverage report -m `
##部署到pypi
我在用绳子。指令在[这里](https://github.com/pypa/twine)。不过,总而言之:
` bash python setup.py sdist bdist_wheel twine upload --repository-urlhttps://test.pypi.org/legacy/ dist/* twine upload --skip-existing dist/* twine upload --skip-existing-r eri dist/* `