Skip to content

Commit

Permalink
fix second instance of #56
Browse files Browse the repository at this point in the history
  • Loading branch information
bl-young committed Dec 5, 2024
1 parent 41f7da3 commit 2a54c42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esupy/context_secondary.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def urb_intersect(df_pt, year):
(gdf_pt['urban'] == True),
(gdf_pt['urban'] == False)]
cmpt = ['unspecified', 'urban', 'rural']
gdf_pt['cmpt_urb'] = np.select(cond, cmpt)
gdf_pt['cmpt_urb'] = np.select(cond, cmpt, default='unspecified')
df_pt = pd.DataFrame(gdf_pt.drop(columns=['geometry','urban']))
return df_pt

Expand Down

0 comments on commit 2a54c42

Please sign in to comment.