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_column_type(["Survived", "Pclass"], "categorical")

result = StructuralProfiler(config).profile(df)

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

config = PipelineConfig()
config.add_exclusion(["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.7

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.7
File Size Uploaded
dataforge_ml-2.0.7.tar.gz 118.2 kB Details

Built distribution (wheel)

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

Total release size: 259.5 kB

Release files / dataforge_ml-2.0.7.tar.gz

Download URL dataforge_ml-2.0.7.tar.gz
Size 118.2 kB
Tags Source
SHA-256 checksum
How to use checksums
71ab842e0bc4f7cd4f19779a29aff1b8e142cead2ce4ef3fd60ce09be34e602d
BLAKE2b-256 checksum
How to use checksums
593d3772019c04cd6f3dbef45886da97ff7515b2cd2b961547c0316ca481b341
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 Jul 2, 2026.

Transparency log

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

Download URL dataforge_ml-2.0.7-py3-none-any.whl
Size 141.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a92a589c56d340b36ce424f4dd3612dcf9c343dcde72014e8ab2ab4955009e2d
BLAKE2b-256 checksum
How to use checksums
ce3f0e1de50a29dcc7ea5f14260403079fb3458ac27a379c9af0cf1e87516c21
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 Jul 2, 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

This release

2.0.7 This release

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

2.0.1

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