본문으로 건너뛰기
cccskills
무료GitHub에 공개

datarobot-data-preparation

Tools and guidance for data upload, dataset management, data validation, and preparing data for DataRobot projects. Use when uploading datasets, managing data, or validating data for DataRobot.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

실행 점수 미검증

설치 방법 보기

포함된 파일(2)

  • SKILL.md7.3 KB
  • scripts/upload_dataset.py2.4 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

DataRobot Data Preparation Skill

This skill provides guidance for preparing and managing data in DataRobot, including uploading datasets, validating data quality, and managing dataset versions.

Quick Start

Most common use case: Upload and validate a dataset

  1. Upload dataset: upload_dataset(file_path, dataset_name) to upload data
  2. Validate data: iterate dataset.get_all_features() and check each feature's na_count and unique_count for quality issues (both can be None for some feature types; target_leakage is only populated on project features after EDA2 — it is never set on catalog datasets, which have no target yet)
  3. Check schema: dr.Dataset.get(dataset_id).get_all_features() to review each column's name and feature_type

Example: "Upload sales_data.csv and check if it's ready for training"

When to use this skill

Use this skill when you need to:

  • Upload datasets to DataRobot
  • Validate data before project creation
  • Manage dataset versions and updates
  • Check data quality and completeness
  • Prepare data for training or predictions
  • Handle data format conversions
  • Connect to external data sources

Key capabilities

1. Dataset Upload

  • Upload CSV, Parquet, and other file formats
  • Connect to databases and data warehouses
  • Handle large datasets efficiently
  • Manage dataset metadata and descriptions

2. Data Validation

  • Validate data formats and schemas
  • Check for missing values and data quality issues
  • Verify column types and formats
  • Identify potential data problems

3. Dataset Management

  • List and search datasets
  • Update dataset metadata
  • Create dataset versions
  • Delete or archive old datasets

4. Data Preparation

  • Clean and preprocess data
  • Handle missing values
  • Format data for DataRobot requirements
  • Prepare prediction datasets

Workflow examples

Example 1: Upload and validate dataset

User request: "Upload my sales_data.csv file and check if it's ready for training."

Agent workflow:

  1. Upload the CSV file to DataRobot
  2. Validate the dataset structure and format
  3. Check for missing values and data quality issues
  4. Verify column types are appropriate
  5. Check for potential issues (leakage, formatting)
  6. Report validation results and recommendations

Example 2: Prepare prediction dataset

User request: "Prepare a prediction dataset based on the training data structure from project abc123."

Agent workflow:

  1. Get the training dataset structure from the project
  2. Identify required columns and data types
  3. Create a template with the same structure
  4. Validate the template matches requirements
  5. Provide guidance on filling in prediction values

Using DataRobot SDK

This skill guides you to use the DataRobot Python SDK directly. Install the SDK if needed:

uv pip install datarobot || python -m pip install datarobot

Key SDK Operations

Use these DataRobot SDK methods for data management:

Dataset Operations:

  • dr.Dataset.create_from_file(file_path) - Upload dataset (no name parameter; rename afterwards with dataset.modify(name=...))
  • dr.Dataset.get(dataset_id) - Get dataset details
  • dr.Dataset.list() - List all datasets
  • dataset.row_count - Get row count
  • len(dataset.get_all_features()) - Get column count

Note: create_from_file blocks until the server finishes ingesting the file (default max_wait=600 seconds); run it in a way that tolerates several minutes (or raise max_wait).

Dataset Information:

  • dataset.name - Dataset name
  • dataset.id - Dataset ID
  • dataset.created_at - Creation timestamp

See the Common Patterns section below for complete examples.

Helper Scripts

This skill includes executable helper scripts that Claude can run directly:

  • scripts/upload_dataset.py - Upload a dataset file to DataRobot

Usage example:

# Upload dataset
python scripts/upload_dataset.py sales_data.csv "Sales Data Q4 2024"

Claude can run this script directly or use it as reference when writing code.

Best practices

  1. Data quality: Clean and validate data before upload
  2. File formats: Use appropriate formats (CSV for small, Parquet for large)
  3. Naming conventions: Use clear, descriptive dataset names
  4. Metadata: Add descriptions and tags for better organization
  5. Versioning: Create versions for important datasets
  6. Data validation: Always validate data before using in projects

Common patterns

Pattern 1: Upload and validate

import datarobot as dr

# Initialize client
dr.Client()

# Upload dataset (blocking: waits for ingestion, default max_wait=600s)
dataset = dr.Dataset.create_from_file(file_path="sales_data.csv")
dataset.modify(name="Sales Data Q4 2024")

print(f"Dataset ID: {dataset.id}")
print(f"Rows: {dataset.row_count}, Columns: {len(dataset.get_all_features())}")

# Get dataset details
dataset_info = dr.Dataset.get(dataset.id)
print(f"Dataset name: {dataset_info.name}")
print(f"Created: {dataset_info.created_at}")

Pattern 2: Dataset management

import datarobot as dr

# List all datasets
datasets = dr.Dataset.list()
print(f"Found {len(datasets)} datasets")

# Search for specific dataset
for dataset in datasets:
    if "sales" in dataset.name.lower():
        print(f"Found: {dataset.name} (ID: {dataset.id})")

# Get specific dataset
dataset = dr.Dataset.get("abc123")
print(f"Dataset: {dataset.name}")
print(f"Size: {dataset.row_count} rows x {len(dataset.get_all_features())} columns")

Data format requirements

CSV Files

  • UTF-8 encoding recommended
  • Headers in first row
  • Consistent delimiters (comma, tab)
  • Proper date/time formatting

Parquet Files

  • Columnar format, efficient for large datasets
  • Preserves data types
  • Better compression than CSV

Database Connections

  • Support for various databases
  • Connection credentials required
  • Query-based data access

Data quality checks

Common checks to perform:

  • Missing values: Identify columns with high missing value rates
  • Data types: Verify columns have correct types
  • Value ranges: Check for outliers and invalid values
  • Duplicates: Identify duplicate records
  • Consistency: Check for data consistency issues

Error handling

Common errors and solutions:

  • Upload failures: Check file format, size limits, encoding
  • Validation errors: Fix data quality issues before proceeding
  • Schema mismatches: Ensure data structure matches expectations
  • Access issues: Verify permissions for dataset operations

SDK Setup

Install DataRobot SDK

uv pip install datarobot || python -m pip install datarobot

Initialize Client

import datarobot as dr

dr.Client()

Resources

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Use when the user wants to design, build, code, simulate, or deploy an AI agent (not a predictive model) to DataRobot; mentions agent_spec.yaml, dr-assist, datarobot-agent-assist, dress rehearsal, swarm simulation, or the DataRobot agent template; wants to scaffold a LangGraph, CrewAI, LlamaIndex, NAT, or Base agent targeting DataRobot; wants to add an MCP server, backend API, or React frontend to a DataRobot agent application; or uses the DataRobot CLI (dr) to build or deploy an agentic custom application; or wants to harden, stress-test, or battle-test an agent. Covers the full workflow: agent design, agent_spec.yaml authoring, dress-rehearsal simulation via the DataRobot LLM Gateway, adversarial swarm simulation, template-based coding, and deployment.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

datarobot-oss/datarobot-agent-skills322026년 10월 23일 업데이트

Use when the user wants to design, build, code, or deploy an AI agent on DataRobot; mentions agent_spec.yaml, dress rehearsal, the DataRobot agent template, LangGraph, CrewAI, LlamaIndex, NAT, Base agents, MCP servers, backend APIs, custom frontends, or the DataRobot CLI.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

datarobot-oss/datarobot-agent-skills322026년 10월 23일 업데이트

Use when an agent assist user wants to deploy their agent, put it on DataRobot, get a link to it, or share it with others, the agent can run as a single container, and the project has no `infra/Pulumi.yaml`. Not for agents built from the agent template, which deploy with Pulumi through datarobot-agent-assist. Users usually just say "deploy" or "deploy to DataRobot" and won't mention containers, workloads or the CLI.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

datarobot-oss/datarobot-agent-skills322026년 10월 23일 업데이트

Use when the user wants to adversarially test, evaluate, or harden an implemented AI agent before deployment; mentions swarm simulation, attack testing, persistence testing, evaluation criteria, or eval_report.md.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

datarobot-oss/datarobot-agent-skills322026년 10월 23일 업데이트

Use when the user wants to configure LLM integration for a DataRobot agent application. This skill helps to change LLM model, switch between the LLM integrations the project supports (LLM Gateway, a DataRobot-deployed LLM, an external provider, an LLM Blueprint, and any others its config declares), or set up provider credentials. The skill reads the project's .datarobot/cli/llm.yml for the real options, interviews the user, then runs sync_llm_env.py with the chosen values as CLI args to merge into .env.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

datarobot-oss/datarobot-agent-skills322026년 10월 23일 업데이트

Guidance for setting up CI/CD pipelines for DataRobot application templates using GitLab, GitHub Actions, and Pulumi for infrastructure as code. Use when setting up CI/CD pipelines, configuring deployments, or managing infrastructure for DataRobot application templates.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

datarobot-oss/datarobot-agent-skills322026년 10월 23일 업데이트

datarobot-oss의 스킬 모두 보기

이 스킬의 문제 신고