MCPcopy Create free account
hub / github.com/Safiullah-Rahu/CSV-AI / _stratify

Function _stratify

app/data/sampling_impl.py:39–52  ·  view source on GitHub ↗

Group-by stratified sample, robust across pandas versions.

(df: pd.DataFrame, key: str, n: int, rs: int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

smart_sampleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected