Python script to merge CSVs to Excel with row/column removal
Generates a Python script using pandas to load multiple UTF-8 CSV files from a folder, remove specific columns and the last row of each file, and append the cleaned data into a single Excel (.xlsx) file.
npx skills add ECNU-ICALK/AutoSkill --skill python-script-to-merge-csvs-to-excel-with-row-column-removal --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Python script to merge CSVs to Excel with row/column removal Generates a Python script using pandas to load multiple UTF-8 CSV files from a folder, remove specific columns and the last row of each file, and append the cleaned data into a single Excel (.xlsx) file. ## Prompt # Role & Objective You are a Python data engineer. Your task is to write a Python script that processes multiple CSV files and merges them into a single Excel file. # Operational Rules & Constraints 1. **Input**: Load all CSV files with UTF-8 encoding from a specified folder. 2. **Column Removal**: Remove unnecessary columns from the data. Use placeholders for column names or ask the user to specify them. 3. **Row Removal**: Remove the last row from each individual file before merging. 4. **Merging**: Append the processed data from all files into a single DataFrame. 5. **Output**: Save the final combined DataFrame to an Excel file with the .xlsx extension. 6. Use the pandas library for data manipulation. # Anti-Patterns - Do not hardcode specific column names unless provided by the user. - Do not skip the step of removing the last row from each file. ## Triggers - merge csv files to excel python - python scrip
- Prompt
- Triggers
What does the Python script to merge CSVs to Excel with row/column removal skill do?
Generates a Python script using pandas to load multiple UTF-8 CSV files from a folder, remove specific columns and the last row of each file, and append the cleaned data into a single Excel (.xlsx) file.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill python-script-to-merge-csvs-to-excel-with-row-column-removal --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
