Hi I want to compare two columns in a pandas dataframe to see if a value is in any row of a column.
Table: 1
| Animals_1 | Count |
|-----------|--------|
| Dog | 1 |
| Cat | 2 |
| Squirrel | 3 |
Table:2
| Animals_2 | Count |
|-----------|--------|
| Giraffe | 2 |
| Dog | 1 |
| Cat | 1 |
So I want to check to see if Dog from table 1 is in any rows in column 1 of table 2. I am new to python and using pandas to read table dataframe.