time_window_sampler

Official

Efficient time window sampling for time series data.

Authorcas-bigdatalab
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the process of time window sampling on JSONL time series records, making it easier to analyze and work with large volumes of data at specific time intervals.

Core Features & Use Cases

  • Time Window Sampling: Group records by time windows and sample uniformly within each window.
  • Flexible Time Granularity: Supports sampling by day, hour, month, week, etc.
  • Use Case: Ideal for analyzing trends and patterns in data recorded at specific time intervals, such as daily or hourly sales data.

Quick Start

Run the time_window_sampler skill with the command: python scripts/run_time_window_sampler.py --input data.jsonl --output sampled.jsonl --time_field event_time --window_size 1d --sample_per_window 2

Dependency Matrix

Required Modules

pythonjsondatetime

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: time_window_sampler
Download link: https://github.com/cas-bigdatalab/piflow/archive/main.zip#time-window-sampler

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.