Find bagel shops in New York City

Find bagel shops in New York City#

[1]:
from pyplaces import foursquare_open_places as fsq
import folium
c:\Users\tedba\miniforge3\envs\pyplaces-test\lib\site-packages\tqdm\auto.py:21: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html
  from .autonotebook import tqdm as notebook_tqdm
[ ]:
# Get bagel shops (Foursquare ID is "4bf58dd8d48988d179941735")


nyc_bagel_gdf =fsq.foursquare_places_from_place("New York City",filters="list_has_any(fsq_category_ids, ['4bf58dd8d48988d179941735'])")
[5]:
m=plot_geodataframes(nyc_bagel_gdf[["fsq_place_id","name","geometry"]],popup_columns=["name"])
m
[5]:
Make this Notebook Trusted to load map: File -> Trust Notebook