I have two dataframes
df1 = pd.read_csv('src_lnd.csv')
df2 = pd.read_csv('lnd_pst.csv')
Their outputs are
df1:
Source | Landing | Result |
---|---|---|
120 | 120 | Pass |
df2:
Landing | Persistence | Result |
---|---|---|
120 | 120 | Pass |
I need to write both these dataframes to an excel file such that it looks like
Excel file:
Source | Landing | Result |
---|---|---|
120 | 120 | Three |
Landing | Persistence | Result |
---|---|---|
120 | 120 | Three |
So literally just write the dataframes as is row by row. I will also have more dataframes created in the future which I will have to append to the same in a new row. All the data is in one sheet only