I would like to union multiple Dataframes with different structure in Python without a key.
Example: Input dataframes as below
DF1
col1 | col2 | col2 |
---|---|---|
abc | aaa | bbb |
bcd | bbb | ccc |
DF2
col4 | col5 | col6 |
---|---|---|
cde | ccc | ddd |
def | ddd | eee |
Result should be: DF3
col1 | col2 | col3 | col4 | col5 | col6 |
---|---|---|---|---|---|
abc | aaa | bbb | --- | --- | --- |
bcd | bbb | ccc | --- | --- | --- |
--- | --- | --- | cde | ccc | ddd |
--- | --- | --- | def | ddd | eee |
Is there an easy way to achieve this?