I have two Pandas DataFrames (A & B) with latitude and longitude.
I need to compare them, and if latitude and longitude from DF A is present in DF B then append a 1 else 0.
DF A
LatLong
-37.3794288,175.6697856
-37.0334148,174.8680204
-41.173852,174.981931
DF B
KBATMLongLat
-37.0334148,174.8680204
-37.5575605,175.1584622
-37.0334148,174.8680204
How can I achieve the expected output (see below)?
Long lat | Result
--------------------------------
-37.3794288,175.6697856 | False
-37.0334148,174.8680204 | True
-41.173852,174.981931 | False
False, True, False?