Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add excel parser and extractor #546

Open
wants to merge 1 commit into
base: mcp
Choose a base branch
from

Conversation

hugoriosbrito
Copy link

@hugoriosbrito hugoriosbrito commented Mar 12, 2025

Excel Data Parsing and Extraction Tool

Features

  • Implementation of a tool for parsing and extracting data from Excel files. The tool is utilized by Manus and can return extracted data in JSON, CSV, dictionary, or DataFrame formats.
  • Supports custom sheet selection, cell range extraction, and header row specification.
  • Standardizes column names to handle inconsistent data formats.
  • Includes comprehensive error handling for file existence validation, format verification, and parsing issues.

Impact

  • Facilitates the visualization of large datasets based on flexible extraction parameters.
  • Enables Manus to process structured Excel data efficiently.
  • Enhances user experience by offering multiple output format options.
  • Reduces manual data preprocessing efforts through automated column name standardization.

Results

The Excel extraction tool successfully processes various file structures and has been tested with multiple Excel datasets.

Sample output in JSON format:

Prompt to Manus: Extract the content of this Excel file at the following path (data\ids.xlsx) and perform an analysis of the data.

[
  {"age": 19, "Name": "Jason"},
  {"age": 35, "Name": "Marcus"},
  {"age": 26, "Name": "Pedro"}
]

Additional Information

  • The tool follows the BaseTool interface for seamless integration with the agent system.
  • Configurable parameters allow flexible adaptation to different Excel file structures.

@hugoriosbrito hugoriosbrito changed the title add excel parser and extractor feat: add excel parser and extractor Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant