You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been searching the docs and on google for a way to do and SQL JOIN between 2D numpy arrays. So far the best I've found was the join_by function in recfunctions but even this one seems to require the key to be a string:
key : {string, sequence}
A string or a sequence of strings corresponding to the fields used
for comparison.
The alternative is to use pandas's merge but this requieres a type conversion.between numpy array and pandas Dataframes. I would like to avoid doing that. I would like to have something like an:
I've been searching the docs and on google for a way to do and SQL JOIN between 2D numpy arrays. So far the best I've found was the
join_by
function in recfunctions but even this one seems to require the key to be a string:The alternative is to use pandas's merge but this requieres a type conversion.between numpy array and pandas Dataframes. I would like to avoid doing that. I would like to have something like an:
numpy.merge(left_array, right_array, how='inner', on=None, left_on=None, right_on=None, left_index=False, right_index=False, sort=False, suffixes=('_x', '_y'), copy=True, indicator=False)
where
left_on
andright_on
are either integers or lists of integersThe text was updated successfully, but these errors were encountered: