Skip to main content

Build Status Binder

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 .pyc files: 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)

Source distribution for onehot 0.1.4
File Size Uploaded
onehot-0.1.4.tar.gz 3.8 kB Details

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

Release history Release notifications | RSS feed

This release

0.1.4 This release

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page