sklearndf is an open source library designed to address a common need with scikit-learn: the outputs of transformers are numpy arrays, even when the input is a data frame. However, to inspect a model it is essential to keep track of the feature names.
To this end, sklearndf enhances scikit-learn’s estimators as follows:
- Preserve data frame structure:
Return data frames as results of transformations, preserving feature names as the column index.
- Feature name tracing:
Add additional estimator properties to enable tracing a feature name back to its original input feature; this is especially useful for transformers that create new features (e.g., one-hot encode), and for pipelines that include such transformers.
- Easy use:
Simply append DF at the end of your usual scikit-learn class names to get enhanced data frame support!
License
sklearndf is licensed under Apache 2.0 as described in the LICENSE file.
Metadata
Release files for sklearndf 2.4.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sklearndf-2.4.2.tar.gz | 155.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sklearndf-2.4.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 231.3 kB
Release files / sklearndf-2.4.2.tar.gz
| Download URL | sklearndf-2.4.2.tar.gz |
|---|---|
| Size | 155.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
589fa7a588b279d3ea774995ecdf6084ebc236a0518cf3c78918ca8ac358ae60
|
|
BLAKE2b-256 checksum How to use checksums |
32d5195f3cabaa74e71f2a17ffb313c69f4a913b41be8e7001822ea621a4bd5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.5
|
Release files / sklearndf-2.4.2-py3-none-any.whl
| Download URL | sklearndf-2.4.2-py3-none-any.whl |
|---|---|
| Size | 76.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1c7afea6a34370658b2b232bf90c7f494c4e1fb304fa7ff9364c85894faba56a
|
|
BLAKE2b-256 checksum How to use checksums |
260f2a4ff38e9de6f13ae662531e82d73ae1522df925828dde39f9644b7b03a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.5
|