Skip to content

Commit

Permalink
resolves pysal#426
Browse files Browse the repository at this point in the history
  • Loading branch information
jGaboardi committed Sep 21, 2022
1 parent c574bcf commit 0fdb474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion momepy/diversity.py
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@ def __init__(
np.nanpercentile(values_list, percentiles, **method)
)
else:
results_list.append(np.nan)
results_list.append(np.array([np.nan] * len(percentiles)))

self.frame = pd.DataFrame(
results_list, columns=percentiles, index=gdf.index
Expand Down

0 comments on commit 0fdb474

Please sign in to comment.