MCPcopy Index your code
hub / github.com/Safiullah-Rahu/CSV-AI / profile_dataframe

Function profile_dataframe

app/data/profiler.py:71–121  ·  view source on GitHub ↗

Compute summary statistics for ``df``. ``sample_size`` controls how many example values we capture per column — useful for showing the LLM what the data actually looks like.

(df: pd.DataFrame, *, sample_size: int = 3)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

build_dataframe_contextFunction · 0.90
__post_init__Method · 0.90
__post_init__Method · 0.90
__post_init__Method · 0.90
_render_upload_sectionFunction · 0.90
test_profile_basicFunction · 0.90

Calls 3

ColumnProfileClass · 0.85
_safe_floatFunction · 0.85
DataProfileClass · 0.85

Tested by 2

test_profile_basicFunction · 0.72