agentsclimarketplace

Data processing

Skill cxcscmu/SkillLearnBench/skills/b1-one-shot-gemini-3-flash-preview/travel-planning/data-processing

Filter CSV data (restaurants, accommodations, attractions) based on criteria like city, cuisine, budget, and pet-friendliness.From its SKILL.md

Install
npx -y skills add cxcscmu/SkillLearnBench --skill data-processing

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.0 KB, 212 tokens by cl100k_base, as published. Nobody here has run it

Data Processing

Use Pandas to filter travel datasets efficiently.

Example Usage

import pandas as pd

def filter_restaurants(df, city, cuisines):
    # Filter by city
    city_df = df[df['City'].str.lower() == city.lower()]
    # Filter by cuisines (assuming Cuisines is a string like "American, Italian")
    pattern = '|'.join(cuisines)
    return city_df[city_df['Cuisines'].str.contains(pattern, case=False, na=False)]

def filter_accommodations(df, city, budget_per_night, pet_friendly=True):
    city_df = df[df['city'].str.lower() == city.lower()]
    if pet_friendly:
        # Assuming pet-friendly means 'No pets' is NOT in house_rules
        city_df = city_df[~city_df['house_rules'].str.contains('No pets', case=False, na=False)]
    return city_df[city_df['price'] <= budget_per_night]

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.