Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bhargav-joshi/excel-sheets-merger
In this is 4 Lines of code which will help us to merge the sheets which are in same excel sheet. Best Approach on How to Combine Lot's of same data of different sheets in just a minute.
https://github.com/bhargav-joshi/excel-sheets-merger
excel excel-merge mail-merge pandas spreadsheet xlsx
Last synced: about 21 hours ago
JSON representation
In this is 4 Lines of code which will help us to merge the sheets which are in same excel sheet. Best Approach on How to Combine Lot's of same data of different sheets in just a minute.
- Host: GitHub
- URL: https://github.com/bhargav-joshi/excel-sheets-merger
- Owner: bhargav-joshi
- Created: 2021-09-06T13:37:48.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-15T04:35:37.000Z (over 3 years ago)
- Last Synced: 2024-05-11T13:52:29.748Z (9 months ago)
- Topics: excel, excel-merge, mail-merge, pandas, spreadsheet, xlsx
- Language: Jupyter Notebook
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Excel-Sheets-Merger
#### Hey so this is 4 Lines of code which will help us to merge the sheets which are in same excel sheet
How to Combine Lot's of same data of differnt sheets in just a minute ?
**Step 1**
- `import pandas as pd`**Step 2**
- `df = pd.concat(pd.read_excel('Excel sheet name.xlsx', sheet_name=None), ignore_index=True)`
- This is where you have to change the Excel sheet name only***Step 3**
- `df`
- This will show the total rows and data view**Step 4**
- `df.to_excel("output.xlsx")`
- This will convert all sheets of single file [ Sheet1, Sheet2, ..... N Sheets] into Single Sheet named as Output.xlsx[Excel File]