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.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 dataforge-ml 2.0.2
File Size Uploaded
dataforge_ml-2.0.2.tar.gz 112.2 kB Details

Built distribution (wheel)

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

Total release size: 247.1 kB

Release files / dataforge_ml-2.0.2.tar.gz

Download URL dataforge_ml-2.0.2.tar.gz
Size 112.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ab06ea11aa14d24eebb0610781cc821eee816666a3921b0273a23f5e6b366b48
BLAKE2b-256 checksum
How to use checksums
ec6d075c3fc9619a83cd953948e38171d257db058168924355151037e01640e4
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.2-py3-none-any.whl

Download URL dataforge_ml-2.0.2-py3-none-any.whl
Size 135.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e42eae2848e7dca2b28a91993fc2e7307c6a4899b939b8762e73c55b90ac45a6
BLAKE2b-256 checksum
How to use checksums
6e9754c8033daf717cfdd30cb3b319e0a4f26fbd8fe0c637c429c6ecea756301
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

This release

2.0.2 This release

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