get_sample_data_info
Retrieve metadata and structure of sample datasets (iris, tips, stocks, gapminder) to support chart exploration without custom data.
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
Returns:
Data info object containing information about the dataset.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_name | Yes | Name of the dataset to get sample data for |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | Yes | ||
| file_path_or_url | Yes | ||
| file_location_type | Yes | ||
| read_function_string | Yes | ||
| column_names_types | No |