BUG: avoid use of np.repeat on 32-bit platforms

This commit is contained in:
Kelsey Jordahl committed 2015-04-28 22:06:42 -07:00
1 parent a1988eb153
commit a266da5ed6
1 file changed
+1 -1
+1 -1
View File
@@ -55,7 +55,7 @@ def sjoin(left_df, right_df, how='inner', op='intersects',
idxmatch = idxmatch[idxmatch.str.len() > 0]
r_idx = np.concatenate(idxmatch.values)
l_idx = idxmatch.index.values.repeat(idxmatch.str.len().values)
l_idx = np.concatenate([[i] * len(v) for i, v in idxmatch.iteritems()])
# VECTORIZE PREDICATE OPERATIONS
def find_intersects(a1, a2):