Skip to main content

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!

pypi conda python_versions code_style made_with_sphinx_doc license_badge

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)

Source distribution for sklearndf 2.4.2
File Size Uploaded Provenance Actions
sklearndf-2.4.2.tar.gz 155.3 kB Without provenance Details for sklearndf-2.4.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sklearndf 2.4.2
File Interpreter ABI Platform Actions
sklearndf-2.4.2-py3-none-any.whl Python 3 none any Details for sklearndf-2.4.2-py3-none-any.whl

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

Security for sklearndf 2.4.2

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.

Release history Release notifications | RSS feed

This release

2.4.2 This release

2 release files No provenance

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