onehot.OneHotDummy
One-Hot encoder with sklearn-ish API interface that process mixed string and numeric labels directly.
onehot.OneHotDummy does basically the same as LabelEncoder and OneHotEncoder combined. It is also inspired by pandas.get_dummies and in particular its ease of use.
Table of Contents
Installation
The onehot git repo is available as PyPi package
pip install onehot
Usage
Check the examples folder for notebooks.
Commands
- Check syntax:
flake8 --ignore=F401
- Remove
.pycfiles:find . -type f -name "*.pyc" | xargs rm - Remove
__pycache__folders:find . -type d -name "__pycache__" | xargs rm -rf - Upload to PyPi:
python setup.py sdist upload -r pypi - Upload to PyPi with twine:
python setup.py sdist && twine upload -r pypi dist/*
Debugging
- Notebooks to profile python code are in the profile folder
Support
Please open an issue for support.
Contributing
Please contribute using Github Flow. Create a branch, add commits, and open a pull request.
Metadata
Release files for onehot 0.1.4
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 | Actions |
|---|---|---|---|---|
| onehot-0.1.4.tar.gz | 3.8 kB | Without provenance | Details for onehot-0.1.4.tar.gz |
Release files / onehot-0.1.4.tar.gz
| Download URL | onehot-0.1.4.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f422ae3f7fb6f085f76e843feb407ee8a47fe11fae2d96be94af70c9a9539a1b
|
|
BLAKE2b-256 checksum How to use checksums |
d522ebc5e445551aeb9a3afcf6c5d8fe21d7544f63269329e162546236f41635
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
|
Security for onehot 0.1.4
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.