Skip to main content

python-data

Performs heavy numerical compute and statistical analysis inside the sandbox.

소스 정보

저장소
google-gemini/gemini-managed-agents-templates
최근 소스 활동
2026년 5월 6일 16:01
감지된 SKILL.md 언어
영어
스타
95
포크
38

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
python-data
description
Performs heavy numerical compute and statistical analysis inside the sandbox.
# Python data skill Run complex calculations, regressions, and aggregations using pandas and scikit-learn in the sandbox. ## Workflow 1. **Write a Python script** using `pandas`, `numpy`, or `sklearn` to: - Join, filter, and aggregate tables. - Compute statistics (mean, median, stddev, correlations). - Build or evaluate ML models. - Run statistical tests (chi-square, t-test) when appropriate. 2. **Execute in the sandbox.** Run via `python3 script.py`. 3. **Handle errors.** If the code fails, read the traceback and fix it. 4. **Return structured output.** Print results as JSON for downstream skills. ## Example output ```json [ {"segment": "High Risk", "churn_rate": 0.34, "avg_tenure": 2.1}, {"segment": "Low Risk", "churn_rate": 0.05, "avg_tenure": 14.7} ] ``` ## Notes - Use `select_dtypes(include=["object", "str"])` for categorical columns (avoids the pandas 4 deprecation warning). - Install missing packages with `pip install -q <package>` before importing.
GitHub에서 보기