data_inspect
ActiveTool of stagenth · 数据工具箱
declared in 1.28.1
查看数据文件结构:列名/类型/行数/每列非空数 + 前 N 行预览。免费(0 credit)。 支持 CSV/TSV/JSON/NDJSON/Parquet。取数(data_query)前先调它看清有哪些列、哪些是数值。
Parameters schema
{
"type": "object",
"title": "data_inspectArguments",
"properties": {
"fmt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Fmt",
"default": null,
"description": "格式 csv/tsv/json/ndjson/parquet;缺省按内容自动识别"
},
"file_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "File Id",
"default": null,
"description": "已上传到文件中转站的数据文件 ID(与 data_base64 二选一)"
},
"data_base64": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Data Base64",
"default": null,
"description": "数据文件内容 base64(与 file_id 二选一,适合未上传的临时数据)"
},
"preview_rows": {
"type": "integer",
"title": "Preview Rows",
"default": 5,
"maximum": 50,
"minimum": 0,
"description": "预览前 N 行"
}
}
}Parent server
stagenth · 数据工具箱
1/7 registries