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

Function build_dataframe_context

app/data/context.py:42–88  ·  view source on GitHub ↗

Return a markdown string describing ``df`` for prompt injection.

(
    df: pd.DataFrame,
    *,
    profile: Optional[DataProfile] = None,
    max_sample_rows: int = 30,
    include_correlation: bool = False,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

__post_init__Method · 0.90
_messagesMethod · 0.90
__post_init__Method · 0.90

Calls 4

profile_dataframeFunction · 0.90
head_tail_sampleFunction · 0.90
_schema_blockFunction · 0.85
_sample_blockFunction · 0.85

Tested by 1