Skip to main content

DataForgeML

Ask DeepWiki

Automated data profiling and splitting pipeline for ML datasets.

DataForgeML inspects your dataset, detects each column's semantic type (numeric, categorical, boolean, text, datetime, or identifier), computes per-column statistics and missingness, and produces a structured result ready for downstream feature engineering — no manual schema wrangling required.

Installation

pip install dataforge-ml

Quick Start

from dataforge_ml import DataLoader, PipelineConfig, StructuralProfiler

df = DataLoader().load("titanic.csv")

config = PipelineConfig()
result = StructuralProfiler(config).profile(df)

print(result.columns["Age"].semantic_type)  # SemanticType.Numeric
print(result.dataset.row_count)             # total rows

DataLoader auto-detects encoding and delimiter. Supported formats: CSV, TSV, Parquet, JSON, NDJSON, JSONL, XLSX, XLS, Arrow, Feather.

Column Type Overrides

Override the auto-detected type for any column before profiling:

config = PipelineConfig()
config.set_column_type("PassengerId", "identifier")           # skip stats entirely
config.set_columns_type(["Survived", "Pclass"], "categorical")

result = StructuralProfiler(config).profile(df)

To drop a column from all processing entirely, use exclude_columns:

config = PipelineConfig(exclude_columns=["PassengerId", "Name"])

Splitting

from dataforge_ml import DataLoader, DataSplitter

df = DataLoader().load("titanic.csv")
splitter = DataSplitter(df, target="Survived", random_seed=42)

# Random train/test split (stratified by default when target is set)
split = splitter.random_split(test_size=0.2)
print(split.train.shape, split.test.shape)

# Chronological split (no temporal leakage)
split = splitter.time_split(time_column="date", test_size=0.2)

# K-fold cross-validation
for fold in splitter.kfold(k=5):
    print(f"Fold {fold.fold_index}: train={fold.train_size}, val={fold.val_size}")

License

MIT

Metadata

Release files for dataforge-ml 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dataforge-ml 2.0.1
File Size Uploaded
dataforge_ml-2.0.1.tar.gz 109.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dataforge-ml 2.0.1
File Interpreter ABI Platform
dataforge_ml-2.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 242.5 kB

Release files / dataforge_ml-2.0.1.tar.gz

Download URL dataforge_ml-2.0.1.tar.gz
Size 109.8 kB
Tags Source
SHA-256 checksum
How to use checksums
96d9aa804b0e0a3b3626274d92905e84670510500b7df5de1800686dfec14756
BLAKE2b-256 checksum
How to use checksums
fd1cb5fddeb0ba161c2c2071b17632494b4ccef2aa028b6f0c6870e12c211d23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 30, 2026.

Transparency log

Release files / dataforge_ml-2.0.1-py3-none-any.whl

Download URL dataforge_ml-2.0.1-py3-none-any.whl
Size 132.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e5bbbcf630621403b4b1213df7f5a56709900e9e9ffa2c3159094774980b18b5
BLAKE2b-256 checksum
How to use checksums
590c912ed8cc4b9127865aee61d6786aaf227727e904260bad2d45dd68f18a32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 30, 2026.

Transparency log

Release history Release notifications | RSS feed

3.3.0

2 release files

3.2.0

2 release files

3.1.1

2 release files

3.1.0

2 release files

3.0.1

2 release files

3.0.0

2 release files

2.2.1

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.9

2 release files

2.0.8

2 release files

2.0.7

2 release files

2.0.6

2 release files

2.0.5

2 release files

2.0.4

2 release files

2.0.3

2 release files

2.0.2

2 release files

This release

2.0.1 This release

2 release files

2.0.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.11.0

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

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