random_selector

Official

Efficiently sample data from CSV files with flexibility.

Authorcas-bigdatalab
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the need for random sampling from CSV datasets, allowing users to select a subset of data based on either a fixed number or a percentage ratio.

Core Features & Use Cases

  • Flexible Sampling: Offers options to sample data either by a fixed number or a proportion of the total dataset.
  • Seed Option: Provides a seed for reproducible random sampling.
  • Use Case: Ideal for data preprocessing where you need a representative subset of data for model training or analysis.

Quick Start

Select a random sample from your dataset with a ratio of 0.3. Run the skill by executing: random_selector --input_file my_data.csv --output_file sampled_data.csv --select_ratio 0.3

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: random_selector
Download link: https://github.com/cas-bigdatalab/piflow/archive/main.zip#random-selector

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.