The data is as follows:
import pandas as pd
city_data = {'City': ['Delhi', 'Mumbai'],
'Lat': [28.7041, 19.0760,],
'Long':[77.1025,72.8777] }
person_data = {'City': ['A', 'B'],
'Lat': [12.9716, 13.0827,],
'Long':[77.5946,80.2707] }
df_city = pd.DataFrame(city_data)
df_person = pd.DataFrame(person_data)
The distance took haversine distance calculation. There are 1000+ people and 300+ locations

