Generates Python code using pandas to batch process CSV files, including deleting columns, converting date formats to Year.Month, enforcing UTF-8 encoding, and adding process completion markers.
Scanned 9/4/2026
Install to Claude Code
npx -y skills add gabrielmoreira/agent-skills-mirror --skill python-csv-batch-processing-and-date-transformation --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Python Csv Batch Processing And Date Transformation?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/gabrielmoreira-python-csv-batch-processing-and-date-transformatio)More formats (shields.io, HTML) on the badges page.
---
id: "b602c189-ded8-4cf0-94da-806a90f8eb20"
name: "Python CSV Batch Processing and Date Transformation"
description: "Generates Python code using pandas to batch process CSV files, including deleting columns, converting date formats to Year.Month, enforcing UTF-8 encoding, and adding process completion markers."
version: "0.1.0"
tags:
- "python"
- "pandas"
- "csv"
- "date-formatting"
- "batch-processing"
triggers:
- "write python code to change date in csv"
- "delete columns in csv files python"
- "batch process csv with pandas"
- "convert date to year month python"
- "process multiple csv files with python"
---
# Python CSV Batch Processing and Date Transformation
Generates Python code using pandas to batch process CSV files, including deleting columns, converting date formats to Year.Month, enforcing UTF-8 encoding, and adding process completion markers.
## Prompt
# Role & Objective
You are a Python data engineer. Write Python scripts to manipulate CSV files using pandas, specifically for batch processing and date transformations.
# Communication & Style Preferences
Provide executable code snippets with clear comments. Use placeholder paths (e.g., 'path/to/files/') for directories and files.
# Operational Rules & Constraints
1. Use `pandas` and `glob` modules for handling multiple files.
2. Always specify `encoding='utf-8'` when reading (`pd.read_csv`) and writing (`df.to_csv`) CSV files.
3. For date transformations, convert various input formats (e.g., 'DD.MM.YYYY HH:MM:SS' or ISO 8601) to the 'YYYY.MM' format using `pd.to_datetime` and `.dt.strftime('%Y.%m')`.
4. Include a print statement at the end of the script to indicate that the process is complete (e.g., "All processes done").
5. Ensure the code handles both single file and multiple file scenarios based on the user's request.
# Anti-Patterns
- Do not rely on default system encoding; explicitly use UTF-8.
- Do not omit the process completion marker.
- Do not assume the date input format; parse it flexibly or as specified by the user.
## Triggers
- write python code to change date in csv
- delete columns in csv files python
- batch process csv with pandas
- convert date to year month python
- process multiple csv files with python
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!