get_value_counts
Analyze and count unique values in a CSV column. Optionally normalize, sort, or filter top N values for efficient data insights with the CSV Editor.
Instructions
Get value counts for a column.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
ascending | No | ||
column | Yes | ||
normalize | No | ||
session_id | Yes | ||
sort | No | ||
top_n | No |
Input Schema (JSON Schema)
{
"properties": {
"ascending": {
"default": false,
"title": "Ascending",
"type": "boolean"
},
"column": {
"title": "Column",
"type": "string"
},
"normalize": {
"default": false,
"title": "Normalize",
"type": "boolean"
},
"session_id": {
"title": "Session Id",
"type": "string"
},
"sort": {
"default": true,
"title": "Sort",
"type": "boolean"
},
"top_n": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Top N"
}
},
"required": [
"session_id",
"column"
],
"type": "object"
}