Offered By: IBMSkillsNetwork
Build a Baseball Data Analysis Agent w/ LangGraph
Learn how to build an AI-powered baseball data analyst using LangGraph and Pandas that can analyze World Series statistics and answer questions using natural language. In this guided project, you’ll explore LangGraph and Pandas Agents to create a smart workflow that routes queries to the correct dataset, interprets structured data, and generates real-time insights. Perfect for beginners in data science, AI agents, or sports analytics looking to combine data reasoning with automation.
Continue readingGuided Project
Data Science
At a Glance
Learn how to build an AI-powered baseball data analyst using LangGraph and Pandas that can analyze World Series statistics and answer questions using natural language. In this guided project, you’ll explore LangGraph and Pandas Agents to create a smart workflow that routes queries to the correct dataset, interprets structured data, and generates real-time insights. Perfect for beginners in data science, AI agents, or sports analytics looking to combine data reasoning with automation.
- Understand the fundamentals of LangGraph and how it structures multi-step agentic workflows.
- Build a compact route → query pipeline that translates natural-language questions into Pandas operations.
- Create and configure Pandas DataFrame agents for multiple CSV datasets (World Series, playoffs, regular season, team, player batting, pitcher stats).
- Implement a routing node that maps questions to the right dataset and a query node with guided retries and schema previews for stability.
What You'll Need
- Basic familiarity with Python programming and running Jupyter notebooks
- An internet connection to install packages
Estimated Effort
30 Minutes
Level
Beginner
Skills You Will Learn
Artificial Intelligence, LangGraph, LLMs, Python, Tool Calling
Language
English
Course Code
GPXX04UIEN