Data Processing
重复列移除器
使用灵活的检测策略从CSV数据中移除重复列。非常适合清理数据集、移除冗余信息和优化数据结构。 功能特点: - 检测相同标题的列 - 查找相同数据内容的列 - 支持大小写敏感/不敏感匹配 - 多种移除策略可选 - 保持数据完整性 - 支持大型数据集 - 快速高效的处理 常见用途: - 清理合并的数据集 - 移除冗余数据列 - 优化分析数据 - 为机器学习准备数据 - 减少文件大小和复杂度 - 标准化数据格式
text· 文本结果打开工具
快速开始
用三种语言从你的代码中调用此工具。
cURL
curl -X POST 'https://api.elysiatools.com/zh/api/tools/duplicate-column-remover' \
-H 'Content-Type: application/json' \
-d '{"csvContent":"Paste your CSV content here...\nExample:\nName,Name,Age,City,City\nJohn,John,25,NYC,NYC\nJane,Jane,30,LA,LA","detectionMethod":"headers","caseSensitive":false,"keepStrategy":"first","trimSpaces":true,"outputFormat":"csv"}'API 参考
以 JSON 形式 POST 提交输入参数。文件类型参数需先单独上传。
请求端点
HTTP
POST https://api.elysiatools.com/zh/api/tools/duplicate-column-remover请求参数
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| csvContent | textarea | 是 | — |
| detectionMethod | select | 是 | — |
| caseSensitive | checkbox | 否 | 将大写和小写字母视为不同字符 |
| keepStrategy | select | 是 | — |
| trimSpaces | checkbox | 否 | 移除标题和值的前后空格 |
| outputFormat |
MCP 集成
将此工具加入你的 Model Context Protocol 服务,让 AI 智能体可以列出并调用它。
服务配置
将以下内容加入你的 MCP 客户端配置:
mcp.json
{
"mcpServers": {
"elysiatools-duplicate-column-remover": {
"name": "duplicate-column-remover",
"description": "使用灵活的检测策略从CSV数据中移除重复列。非常适合清理数据集、移除冗余信息和优化数据结构。\n\n功能特点:\n- 检测相同标题的列\n- 查找相同数据内容的列\n- 支持大小写敏感/不敏感匹配\n- 多种移除策略可选\n- 保持数据完整性\n- 支持大型数据集\n- 快速高效的处理\n\n常见用途:\n- 清理合并的数据集\n- 移除冗余数据列\n- 优化分析数据\n- 为机器学习准备数据\n- 减少文件大小和复杂度\n- 标准化数据格式",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=duplicate-column-remover",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}列出可用工具
连接到 SSE 端点后,列出已开放的工具:
tools/list
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}调用此工具
通过工具 id 调用,参数由其参数表构建:
tools/call
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "duplicate-column-remover",
"arguments": {
"csvContent": "Paste your CSV content here...\nExample:\nName,Name,Age,City,City\nJohn,John,25,NYC,NYC\nJane,Jane,30,LA,LA",
"detectionMethod": "headers",
"caseSensitive": false,
"keepStrategy": "first",
"trimSpaces": true,
"outputFormat": "csv"
}
}
}可用逗号分隔的 toolId 在一个会话中串联多个工具,例如 /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp(最多 20 个)。
有问题或反馈?请联系 [email protected]