mirror of
https://github.com/wassname/geopandas.git
synced 2026-09-25 13:40:11 +08:00
BUG: Use index on dataframe, not on values (GH#190)
This commit is contained in:
@@ -79,7 +79,7 @@ def sjoin(left_df, right_df, how='inner', op='intersects',
|
||||
check_predicates(
|
||||
left_df['geometry']
|
||||
.apply(lambda x: prepared.prep(x)).values[l_idx],
|
||||
right_df['geometry'].values[r_idx])
|
||||
right_df['geometry'][r_idx])
|
||||
]))
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user