Dataframe code agents

From VectorSpaceLab/AREX-Skill · View interactive version

Dataframe code agents is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Use ai-data-science-team single-agent pandas code generators for cleaning, wrangling, visualization, and feature engineering workflows.

How to use this skill

Skill file

dataframe-code-agents

Use this sub-skill when the task is to run or explain one ai-data-science-team pandas code-generation agent over already-loaded pandas data: cleaning, wrangling, Plotly visualization, or feature engineering.

The package agents call the caller-provided LangChain-compatible model when invoked. This operating skill does not provide or configure that model and its bundled inspection script performs no model calls.

Route first

| User intent | Use here? | Target |

|---|---:|---|

| Load local CSV/Excel/JSON/Parquet/Pickle files, discover files, or summarize a DataFrame without code generation | No | ../data-access-and-eda/SKILL.md |

| Clean one DataFrame with generated pandas code | Yes | DataCleaningAgent |

| Wrangle, join, reshape, aggregate, or transform one or more DataFrames with generated pandas code | Yes | DataWranglingAgent |

| Generate a Plotly chart from one DataFrame with generated code | Yes | DataVisualizationAgent |

| Produce a model-ready feature table with generic encodings and optional target preservation | Yes | FeatureEngineeringAgent |

| Query a SQL database or reason about SQL safety | No | ../sql-analysis/SKILL.md |

| Compose multiple agents, use analyst teams, supervisors, or Streamlit apps | No | ../multiagent-and-app-workflows/SKILL.md |

| Train H2O models or inspect MLflow tools | No | ../modeling-and-mlflow/SKILL.md |

Minimum runtime assumptions

Operating checklist

  1. Identify the single-agent task: cleaning, wrangling, visualization, or feature engineering.
  2. Verify the data shape is compatible with the selected agent.
  3. Choose conservative execution settings:
  1. Invoke through the class wrapper (DataCleaningAgent, DataWranglingAgent, DataVisualizationAgent, or FeatureEngineeringAgent) unless the caller specifically needs the lower-level make_*_agent graph.
  2. Retrieve results through getters or get_response(); inspect generated code before reusing it outside the package workflow.
  3. If generated code fails, use the returned error key, bounded retries, logs, and the troubleshooting table rather than rerunning blindly.

Fast reference map

Key safety facts

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.