get_sample_data_info
Retrieve sample data info for datasets like iris, tips, stocks, and gapminder to support visualization tasks such as scatter plots, histograms, and line charts.
Instructions
If user provides no data, use this tool to get sample data information.
Use the following data for the below purposes:
- iris: mostly numerical with one categorical column, good for scatter, histogram, boxplot, etc.
- tips: contains mix of numerical and categorical columns, good for bar, pie, etc.
- stocks: stock prices, good for line, scatter, generally things that change over time
- gapminder: demographic data, good for line, scatter, generally things with maps or many categories
Args:
data_name: Name of the dataset to get sample data for
Returns:
Data info object containing information about the dataset.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
data_name | Yes |
Input Schema (JSON Schema)
{
"properties": {
"data_name": {
"enum": [
"iris",
"tips",
"stocks",
"gapminder"
],
"title": "Data Name",
"type": "string"
}
},
"required": [
"data_name"
],
"title": "get_sample_data_infoArguments",
"type": "object"
}