I have 2 csv files with data given in this fashion. How can i perform a basic matching and produce a result like the output. I'm matching based on the websites field. that's the key i'm using here for matching.
I tried Efficiently find matching rows (based on content) in a pandas DataFrame and https://macxima.medium.com/python-retrieve-matching-rows-from-two-dataframes-d22ad9e71879
but i'm not getting my desired output. Any assistance would be helpful
file1.csv
| id | web_1 |
|----|------|
| 1 | google.com |
| 2 | microsoft.in |
| 3 | yahoo.uk |
| 4 | adobe.us |
file2.csv
| id | web_2 |
|----|-----|
|2| microsoft.in |
| 3 | yahoo.uk |
| 4 | adobe.us |
output
| id | web_1 | web_2 |
|----|------|--------|
| 1 | google.com | |
| 2 | microsoft.in | microsoft.in |
| 3 | yahoo.uk | yahoo.uk |
| 4 | adobe.us | adobe.us |