I have following dataframes
df1
| ind | stay | res |
|---|---|---|
| AB10 | yes | yes |
| AB11 | no | yes |
df2
| ind | date | c |
|---|---|---|
| AB10 | 22-01 | 1 |
| AB10 | 24-01 | 2 |
| AB11 | 20-01 | 1 |
| AB11 | 21-01 | 2 |
| AB11 | 22-01 | 3 |
I want following dataframe as a final one
| ind | date | c | stay | res |
|---|---|---|---|---|
| AB10 | yes | yes | ||
| AB10 | 22-01 | 1 | ||
| AB10 | 24-01 | 2 | ||
| AB11 | no | yes | ||
| AB11 | 20-01 | 1 | ||
| AB11 | 21-01 | 2 | ||
| AB11 | 22-01 | 3 |
How to get this using pandas?