data_clean
ActiveTool of stagenth · 数据工具箱
declared in 1.28.1
一步清洗脏数据:去重 / 去空白 / 删全空行列,产物落文件中转站并返清洗统计(1 credit/次)。
Parameters schema
{
"type": "object",
"title": "data_cleanArguments",
"properties": {
"to": {
"type": "string",
"title": "To",
"default": "csv",
"description": "输出格式 csv/json/ndjson/parquet/xlsx,默认 csv"
},
"fmt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Fmt",
"default": null,
"description": "源格式 csv/tsv/json/ndjson/parquet;缺省自动识别"
},
"dedupe": {
"type": "boolean",
"title": "Dedupe",
"default": true,
"description": "整行去重"
},
"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"
},
"trim_strings": {
"type": "boolean",
"title": "Trim Strings",
"default": true,
"description": "字符串去首尾空白,空串归 NULL"
},
"drop_empty_cols": {
"type": "boolean",
"title": "Drop Empty Cols",
"default": false,
"description": "删除全空列"
},
"drop_empty_rows": {
"type": "boolean",
"title": "Drop Empty Rows",
"default": true,
"description": "删除全空行"
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
stagenth · 数据工具箱
1/7 registries