For example, I have two Dataframes like these:
| data | |
|---|---|
| 0 | 100 |
| 1 | 150 |
| 2 | 200 |
| 3 | 250 |
| 4 | 300 |
and
| data2 | |
|---|---|
| 1 | 1 |
| 2 | 2 |
| 3 | 3 |
I'd like to make a new Dataframe like this:
| data | data2 | |
|---|---|---|
| 1 | 150 | 1 |
| 2 | 200 | 2 |
| 3 | 250 | 3 |
How can I achieve this?
For example, I have two Dataframes like these:
| data | |
|---|---|
| 0 | 100 |
| 1 | 150 |
| 2 | 200 |
| 3 | 250 |
| 4 | 300 |
and
| data2 | |
|---|---|
| 1 | 1 |
| 2 | 2 |
| 3 | 3 |
I'd like to make a new Dataframe like this:
| data | data2 | |
|---|---|---|
| 1 | 150 | 1 |
| 2 | 200 | 2 |
| 3 | 250 | 3 |
How can I achieve this?