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

Function smart_sample

app/data/sampler.py:13–31  ·  view source on GitHub ↗

Return up to ``n`` rows, stratified when possible.

(df: pd.DataFrame, n: int = 200, *, random_state: int = 42)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 1

_stratifyFunction · 0.70