Python Forum

Full Version: merge excel
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

I want to merge and filter 2 excel sheets. They have different columns and one unique id.

I would want to leave other columns from these different excel and produce a 3rd excel sheet
In general, an algorithm would be as follows (if you expect to use Python to solve the problem): 1) read these files, e.g. using pandas: import pandas as pd; data1 = pd.read_excel('yourfile_1.xlsx'); 2) do merging... 3) save the result, e.g. using pandas.
So, what did you try so far?