eda-tools-bat
EDA хийх 7 жижиг функц. AI Academy Asia, AI Engineer курс, Data Analysis модуль, 5-р хичээл.
Суулгах
# Энэ хавтсаас шууд
pip install .
# TestPyPI-аас
pip install -i https://test.pypi.org/simple/ --no-deps eda-tools-bat
# Жинхэнэ PyPI-аас
pip install eda-tools-bat
Функцууд
| Функц | Сан | Юу хийдэг |
|---|---|---|
basic_stats(x) |
NumPy | n, дундаж, медиан, std, min, max |
iqr_outliers(x) |
NumPy | 1.5 x IQR дүрмээр outlier |
missing_report(df) |
Pandas | багана бүрийн хоосон утгын тоо ба хувь |
group_rate(df, by, target) |
Pandas | бүлэг бүрийн n ба дундаж |
plot_hist(df, col) |
Matplotlib | histogram, дундаж ба медианы шугам |
plot_box(df, x, y) |
Seaborn | бүлгийн boxplot |
plot_corr(df) |
Seaborn | корреляцийн heatmap |
Жишээ: зээлийн оноо
import eda_tools_bat as et
et.missing_report(loan)
et.basic_stats(clean["score"])
et.group_rate(clean, "credit_history", "loan_approved")
et.plot_hist(clean, "score")
et.plot_box(clean, "loan_approved", "score")
et.plot_corr(clean)
Бүтэн жишээ: examples/example_scoring.py (loan_approval.csv-тэй хамт).
Өөрийн нэрээр байршуулах
bat-ыг өөрийн нэрээр соль:pyproject.tomlдахьname,src/eda_tools_batхавтасны нэр.python -m buildtwine check dist/*twine upload --repository testpypi dist/*(дараа нь жинхэнэ PyPI:twine upload dist/*)
Metadata
Release files for eda-tools-bat 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| eda_tools_bat-0.1.0.tar.gz | 3.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| eda_tools_bat-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.4 kB
Release files / eda_tools_bat-0.1.0.tar.gz
| Download URL | eda_tools_bat-0.1.0.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c4d1b4b0893442ddafe6f83ff0b50a7d85e3cbeb6049ba95a5341457aa0fdb1a
|
|
BLAKE2b-256 checksum How to use checksums |
aa57e25dc022b61ae095a3f3df6693433e7e76e092b90f88f7749e72596b9225
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.2
|
Release files / eda_tools_bat-0.1.0-py3-none-any.whl
| Download URL | eda_tools_bat-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b8f0ec52d5bf4a1a8631b30c790afff33e7cfd9a476e905ce55933f4daa0e11c
|
|
BLAKE2b-256 checksum How to use checksums |
d2efbec1e5b4c292d27234ef75ac0d55e200efdd8b9eea1831ace3123a7326f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.2
|
Security for eda-tools-bat 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.