profile_columns
Profile file columns: null counts, approximate distinct counts, min/max, and frequent values for low-cardinality columns. Ideal when you need column statistics beyond basic types.
Instructions
Profile a file's columns: null counts, approximate distinct counts, min/max and the most frequent values of low-cardinality columns.
This scans the whole file, so prefer describe_file when you only need types.
Args: path: File path, glob or URL. columns: Restrict to these columns (default: all). top_k: Number of most-frequent values to show; 0 to skip that pass.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| top_k | No | ||
| columns | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |