mirror of
https://github.com/wassname/geopandas.git
synced 2026-09-12 12:20:25 +08:00
CLN: Use np.nan directly rather than through pandas namespace
This commit is contained in:
@@ -93,7 +93,7 @@ def _prepare_geocode_result(results):
|
||||
p = Point(loc[1], loc[0])
|
||||
|
||||
if address is None:
|
||||
address = pd.np.nan
|
||||
address = np.nan
|
||||
|
||||
d['geometry'].append(p)
|
||||
d['address'].append(address)
|
||||
|
||||
Reference in New Issue
Block a user