Skip to content

API Reference parrot_tools.quickeda

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot_tools.quickeda

View source

Quick EDA Tool - Comprehensive Exploratory Data Analysis for pandas DataFrames.

FEAT-423: matplotlib/seaborn replaced with altair. Charts are embedded as interactive, client-side-rendered Vega-Lite specs (via the vega-embed CDN scripts loaded once in the report's

) — no server-side rendering dependency (vl-convert-python) is required for this report.

Alias AbstractTool

Re-exported from parrot_tools.abstract.AbstractTool.

Class EdaUtils

Utility functions for EDA operations.

Method EdaUtils.detect_outliers

Detect outliers in numerical columns.

detect_outliers(df: pd.DataFrame, columns: List[str] = None, method: str = 'iqr') -> Dict[str, List]

Parameter Type Default Description
df pd.DataFrame DataFrame to analyze
columns List[str] None Specific columns to check (default: all numerical)
method str 'iqr' Method to use ('iqr', 'zscore', 'isolation_forest')

Returns: Dict[str, List] — Dictionary with column names as keys and outlier indices as values

Method EdaUtils.suggest_data_types

Suggest optimal data types for DataFrame columns.

suggest_data_types(df: pd.DataFrame) -> Dict[str, str]

Parameter Type Default Description
df pd.DataFrame DataFrame to analyze

Returns: Dict[str, str] — Dictionary with column names and suggested data types

Method EdaUtils.memory_usage_analysis

Analyze memory usage of DataFrame.

memory_usage_analysis(df: pd.DataFrame) -> Dict[str, Any]

Parameter Type Default Description
df pd.DataFrame DataFrame to analyze

Returns: Dict[str, Any] — Dictionary with memory usage analysis

Class QuickEdaArgs

Arguments schema for Quick EDA analysis.

Fields:

Field Type Default Description
dataframe Any Pandas DataFrame to analyze
filename Optional[str] None Optional filename to save the EDA report (without extension)
title str 'Quick EDA Report' Title for the EDA report
max_numeric_plots int 5 Maximum number of numerical columns to plot
max_categorical_plots int 5 Maximum number of categorical columns to plot
include_correlations bool True Whether to include correlation matrix
include_distributions bool True Whether to include distribution plots
include_value_counts bool True Whether to include value counts for categorical columns
plot_style str 'whitegrid' Legacy field, kept for backward compatibility. Ignored by the altair backend (FEAT-423) — charts render with the report's default Vega-Lite theme.
color_palette str 'husl' Legacy field, kept for backward compatibility. Ignored by the altair backend (FEAT-423).
figure_size tuple (12 Default figure size for plots
include_missing_analysis bool True Whether to include detailed missing value analysis

Class QuickEdaTool

Tool for performing comprehensive Exploratory Data Analysis on pandas DataFrames.

This tool generates a detailed HTML report with statistics, visualizations, and insights about the DataFrame structure and data distribution.

Attributes:

Attribute Type Description
name str
description str
return_direct bool

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally