$npx skillfedfor your agent

sklearn-pandas

Pandas integration with sklearn

SkipPyPI Artificial IntelligenceReleased May 2021205.9K downloads / moMIT LicensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — sklearn_pandas-2.2.0-py2.py3-none-any.whl
v2.2.0 · released 2021-05-08 · 4 runtime deps: scikit-learn, scipy, pandas, numpy

No. The project is abandoned (last release 2021-05-08, last commit 2023-06-08) with no active maintenance. While the MIT License is permissive and install friction is low, the lack of updates means it may break with newer versions of scikit-learn, pandas, or numpy. For new projects, consider actively maintained alternatives.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with a pure-Python wheel.
  • However, the project is abandoned—last release was 2021-05-08 and last commit 2023-06-08.
  • No active maintenance means bug fixes or compatibility updates are unlikely.

License · maintenance · safety

MIT License (permissive) — MIT License permits commercial and private use with minimal restrictions, making it legally safe to adopt for most projects.

last release 2021-05-08 (1924 days) · last repo commit 2023-06-08 · 2,844 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 205,933 downloads/mo, #9,580 on PyPI

Verify before relying

pip install sklearn-pandas

from sklearn_pandas import DataFrameMapper
import pandas as pd
import sklearn.preprocessing

data = pd.DataFrame({'pet': ['cat', 'dog'], 'children': [4., 6]})
mapper = DataFrameMapper([
    ('pet', sklearn.preprocessing.LabelBinarizer()),
    (['children'], sklearn.preprocessing.StandardScaler())
])
mapper.fit_transform(data)
  • Compatibility with current versions of scikit-learn, pandas, numpy, and scipy—last release predates many recent major versions
  • Whether the package works with modern Python versions (requires_python field is empty in metadata)
Same gist for agents: .md · .json

What it is and what it does

sklearn-pandas provides a DataFrameMapper class that acts as a bridge between pandas DataFrames and scikit-learn's transformers. Instead of manually extracting columns, applying transformations, and reassembling arrays, you define a list of (column_selector, transformer, options) tuples, and the mapper handles the plumbing—selecting columns from your DataFrame, passing them through sklearn transformers, and combining the results back into a feature matrix.

The mapper supports flexible column selection (single columns, multiple columns, or callable selectors), custom naming of output features via aliases, prefixes, and suffixes, and automatic tracking of transformed feature names. It integrates directly into sklearn pipelines and works with both fit and transform operations. The four runtime dependencies—scikit-learn, scipy, pandas, and numpy—are standard in the ML stack, so installation is straightforward.

Use it for

  • Preprocessing mixed-type DataFrames by applying different transformers to different columns before feeding them to a classifier
  • Building reproducible feature engineering pipelines that map raw DataFrame columns through standardization and encoding in a single object
  • Tracking which original DataFrame columns produced which transformed features for model interpretability and debugging
  • Dynamically selecting columns at fit time using callables to handle datasets with unknown or variable column sets

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No.

The project is abandoned (last release 2021-05-08, last commit 2023-06-08) with no active maintenance. While the MIT License is permissive and install friction is low, the lack of updates means it may break with newer versions of scikit-learn, pandas, or numpy. For new projects, consider actively maintained alternatives.

Install

sklearn-pandas on PyPI

Before you install

Low install friction with a pure-Python wheel. However, the project is abandoned—last release was 2021-05-08 and last commit 2023-06-08. No active maintenance means bug fixes or compatibility updates are unlikely.

License in practice

MIT License permits commercial and private use with minimal restrictions, making it legally safe to adopt for most projects.

Quickstart

pip install sklearn-pandas

from sklearn_pandas import DataFrameMapper
import pandas as pd
import sklearn.preprocessing

data = pd.DataFrame({'pet': ['cat', 'dog'], 'children': [4., 6]})
mapper = DataFrameMapper([
    ('pet', sklearn.preprocessing.LabelBinarizer()),
    (['children'], sklearn.preprocessing.StandardScaler())
])
mapper.fit_transform(data)

Verify before relying

  • Compatibility with current versions of scikit-learn, pandas, numpy, and scipy—last release predates many recent major versions
  • Whether the package works with modern Python versions (requires_python field is empty in metadata)

Package facts

LicenseMIT License permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
scikit-learnscipypandasnumpy
MaintenanceAbandoned 1,924 days since the last release
Last repo commit
First released
Downloads205,933 / month, #9,580 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: sklearn_pandas-2.2.0-py2.py3-none-any.whl

Tags

Capabilities
pandas dataframe to sklearn transformermap dataframe columns to sklearnfeature engineering pandas sklearndataframe mapper machine learningsklearn pandas integrationtransform dataframe columns sklearnpandas feature extraction sklearn
Topics
pandas-sklearn-bridgefeature-engineeringabandoned
PyPI keywords
scikitsklearnpandas

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “pandas dataframe to sklearn transformer”

  • sklearn-pandasBridges pandas DataFrames and scikit-learn by mapping DataFrame…
  • sklearndfWraps scikit-learn estimators to return pandas DataFrames instead of…
  • category-encodersTransforms categorical variables into numeric representations using…

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also sklearndf · datasieve · pandas · skrub · woodwork · featuretools · gspread-pandas · pandavro · gspread-dataframe · pandas-read-xml