Im trying to write a script for few ETL transformations. I have 34 fixed columns i.e. df1, according to which I have to map the column name of different input files containing different columns i.e. df2.
df1(Standard Columns):
df2:
I have tried df.merge
but that does not seem to solve my problem.
The expected result is the columns in the input file df2
to be mapped with same column name
as df1
and same order
as they appaer in df2
with its original value intact.
Expected Result :
any help will be greatly appreciated !!