https://opendata.cityofnewyork.us/data/
Publicly available datasets are available, in xlsx format, that detail current zoning, events, shops, registrations, etc. for the city in the link above.
import pandas as pd
df = pd.read_excel (r'Path where the Excel file is stored\File name.xlsx', sheet_name="your Excel sheet name")
Utilize Pandas as an alternative for importing your data into Python.
solved Bringing a city in form of a graph in python [closed]