data-pipeline-processor-example-1-simple-csv-processing
БесплатноБез исполняемых скриптовНе проверенSub-skill of data-pipeline-processor: Example 1: Simple CSV Processing (+3).
от vamseeachanta★ 21 звезда на GitHubОб этом скилле
Example 1: Simple CSV Processing (+3)
Example 1: Simple CSV Processing
# Process CSV with config
python -m data_pipeline config/pipelines/clean_data.yaml
# Override input/output
python -m data_pipeline config/pipelines/clean_data.yaml \
--input data/custom_input.csv \
--output data/custom_output.csv
# Dry run (validate only)
python -m data_pipeline config/pipelines/clean_data.yaml --dry-run
Example 2: Programmatic Usage
from data_pipeline import DataPipeline, PipelineConfig
config = PipelineConfig(
input_path='data/raw/sales.csv',
output_path='data/processed/sales_clean.csv',
validation={
'required_columns': ['date', 'product', 'amount'],
'non_null_columns': ['amount']
},
transformations=[
{'operation': 'filter', 'expression': 'amount > 0'},
{'operation': 'sort', 'by': ['date']}
]
)
pipeline = DataPipeline(config)
result = pipeline.run()
print(f"Processed {result['output_rows']} rows")
Example 3: Batch Processing
from pathlib import Path
from data_pipeline import DataReader, DataTransformer, DataExporter
reader = DataReader()
exporter = DataExporter()
# Process all CSV files in directory
input_dir = Path('data/raw/')
output_dir = Path('data/processed/')
for csv_file in input_dir.glob('*.csv'):
df = reader.read(str(csv_file))
# Apply transformations
df_clean = (DataTransformer(df)
.fill_nulls(value=0)
.filter_rows('value > 0')
.sort(['timestamp'])
.get_result())
# Export
output_path = output_dir / csv_file.name
exporter.to_csv(df_clean, str(output_path))
print(f"Processed: {csv_file.name}")
Example 4: Multi-Format Export
def export_all_formats(df: pd.DataFrame, base_path: str):
"""Export data to multiple formats."""
exporter = DataExporter()
outputs = {
'csv': exporter.to_csv(df, f"{base_path}.csv"),
'json': exporter.to_json(df, f"{base_path}.json"),
'parquet': exporter.to_parquet(df, f"{base_path}.parquet"),
'excel': exporter.to_excel(df, f"{base_path}.xlsx")
}
return outputs
Установить data-pipeline-processor-example-1-simple-csv-processing в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл data-pipeline-processor-example-1-simple-csv-processing?
Sub-skill of data-pipeline-processor: Example 1: Simple CSV Processing (+3).
Как установить скилл data-pipeline-processor-example-1-simple-csv-processing?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл data-pipeline-processor-example-1-simple-csv-processing запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic