CSV Analyzer Pack

Trustedv1.0.0MITVerified88

by AgentNode · published 25 days ago · toolpack

Analyze, filter, and transform CSV data with pandas-powered tools.

Wraps pandas to provide CSV ingestion, column stats, filtering, and export for AI agents.

langchaincrewaigeneric

Quick Start

bash
agentnode install csv-analyzer-pack

Usage

From package
python
from csv_analyzer_pack.tool import run

result = run(
    capability="analyze_csv",
    params={
        "file_path": "/tmp/sales_2025.csv",
        "operations": [
            {"type": "group_by", "column": "region"},
            {"type": "aggregate", "column": "revenue", "functions": ["sum", "mean", "count"]},
            {"type": "sort", "by": "revenue_sum", "ascending": False}
        ]
    }
)

print(f"Rows processed: {result['rows_processed']}")
print(f"\nRevenue by Region:")
for row in result["data"]:
    print(f"  {row['region']}: ${row['revenue_sum']:,.0f} "
          f"(avg ${row['revenue_mean']:,.0f}, {row['revenue_count']} deals)")

Verification

high confidence88/100✔ Verified
smokeReturned valid result
+25/25
testsAuto-generated tests only
+8/15
importAll tools imported successfully
+15/15
installInstalled in 2.5s
+15/15
contractAll contract checks passed
+10/10
warningsNo warnings
0/0
determinismOutput consistency check
+5/5
reliability3/3 runs passed
+10/10

Package installs and imports correctly. runtime checks passed.

install2.5s
import2.3s
smoke660ms
tests1.7s

This package was executed and validated by AgentNode before listing. Install, import, and runtime checks passed.

Python 3.12.3ffmpegpopplertesseractuv

Last verified 21d ago· Runner v2.0.0

Use this when you need to...

  • Calculate summary statistics on sales CSV data
  • Filter and sort customer records by criteria
  • Merge multiple CSV files on a shared key column
  • Detect and report missing or duplicate values
  • Group rows and compute aggregates per category

README

CSV Analyzer Pack

Analyze, filter, and transform CSV data with pandas-powered tools. Group, aggregate, merge, sort, and export — all without writing pandas code yourself.

Quick Start

agentnode install csv-analyzer-pack
from csv_analyzer_pack.tool import run

result = run(
    capability="analyze_csv",
    params={
        "file_path": "/tmp/data.csv",
        "operations": [{"type": "describe"}]
    }
)
print(result["summary"])

Usage

Summary statistics

result = run(
    capability="analyze_csv",
    params={
        "file_path": "/tmp/sales.csv",
        "operations": [{"type": "describe"}]
    }
)
for col, stats in result["summary"].items():
    print(f"{col}: mean={stats['mean']:.2f}, min={stats['min']}, max={stats['max']}")

Group and aggregate

result = run(
    capability="analyze_csv",
    params={
        "file_path": "/tmp/orders.csv",
        "operations": [
            {"type": "group_by", "column": "category"},
            {"type": "aggregate", "column": "total", "functions": ["sum", "mean"]}
        ]
    }
)

Filter, sort, and export

result = run(
    capability="analyze_csv",
    params={
        "file_path": "/tmp/users.csv",
        "operations": [
            {"type": "filter", "column": "active", "operator": "==", "value": True},
            {"type": "sort", "by": "created_at", "ascending": False},
            {"type": "select_columns", "columns": ["name", "email", "plan"]}
        ],
        "output_path": "/tmp/active_users.csv"
    }
)
print(f"Exported {result['rows_output']} rows")

API Reference

CapabilityDescription
analyze_csvApply operations to CSV data and return results

Operations: describe, filter, sort, group_by, aggregate, select_columns, merge, deduplicate, fill_missing.

Parameters: file_path (required), operations (required), output_path, encoding.

Returns: data, summary, rows_processed, rows_output, output_path, columns.

Requirements

No environment variables required.

License

MIT

Version History

Capabilities

csv_analysisanalyze_csvtool

Permissions

This package declares the following access levels. Review before installing.

Networknone
Filesystemtemp
Code Executionnone
Data Accessinput_only
User Approvalnever
bash
agentnode install csv-analyzer-pack

Files (3)

License

MIT

Stats

Downloads0
Installs0
Versionv1.0.0
Published3/16/2026
Channelstable
Typetoolpack
Entrypointcsv_analyzer_pack.tool

Compatibility

Frameworks

langchaincrewaigeneric

Runtime

python

Python Version

>=3.10

Trust & Security

PublisherTrusted
SignatureNone
ProvenanceNone
Security Issues0

Publisher

A

AgentNode

@agentnode