From 69324f5d8bef8cbb177a401b75c618907904f325 Mon Sep 17 00:00:00 2001 From: Kelsey Jordahl Date: Thu, 21 Nov 2013 18:26:15 -0600 Subject: [PATCH] CLN: Use np.nan directly rather than through pandas namespace --- geopandas/geocode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geopandas/geocode.py b/geopandas/geocode.py index 1f39ae7..0e9b3e7 100644 --- a/geopandas/geocode.py +++ b/geopandas/geocode.py @@ -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)