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.

Language
- English
Topic
- Artificial Intelligence
Skills You Will Learn
- Artificial Intelligence, LangGraph, LLMs, Python, Tool Calling
Offered By
- IBMSkillsNetwork
Estimated Effort
- 30 minutes
Platform
- SkillsNetwork
Last Update
- November 4, 2025
- 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

Language
- English
Topic
- Artificial Intelligence
Skills You Will Learn
- Artificial Intelligence, LangGraph, LLMs, Python, Tool Calling
Offered By
- IBMSkillsNetwork
Estimated Effort
- 30 minutes
Platform
- SkillsNetwork
Last Update
- November 4, 2025
Instructors
Malik Ali
Data Scientist Intern
Hey there, my name is Malik! I'm currently a data science intern at IBM looking to use the data science and machine learning concepts I'm learning to solve real-world problems. I have a Bachelor in Management Information Systems and am currently pursuing my Masters in Analytics at Georgia Tech.
Read more