Data analysis

From cxcscmu/SkillLearnBench · View interactive version

Data analysis is an AI agent skill from the GitHub repository cxcscmu/SkillLearnBench. Using Python and Pandas to analyze large CSV datasets and filter based on specific criteria like budget, location, and amenities.

How to use this skill

Skill file

Data Analysis using Pandas

This skill covers the basic operations needed to filter and extract information from structured datasets (CSVs) using Python and Pandas.

Key Concepts

Usage Example

import pandas as pd

# Load dataset
df = pd.read_csv('data/accommodations/clean_accommodations_2022.csv')

# Filter for pet-friendly accommodations in a specific city
city_hotels = df[(df['city'] == 'Cleveland') & (df['pet_friendly'] == True)]

# Select the top option
best_hotel = city_hotels.head(1)
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.