You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Interesting thing that map=geocoder is actually works as expected.
In your example lets-plot deduces the following: map_join=[['city', 'city'], ['city', 'country']]
It's because of a single list in map_join that is interpreted as multi-key for data. And as there is no explicit keys for map lets-plot tries to deduce keys by searching known geo-name columns - 'city', 'county', 'state', 'country'.
Sadly there are exactly two matching columns in a map - 'city', 'country'. That's why everything works without errors, but result is incorrect.
Proper way to define map_join for this case is to use pair of lists: map_join = [['city'], ['city']]
When using
map=city_geocoder.get_centroids()
it works as expected.The text was updated successfully, but these errors were encountered: