def rec_join(key, r1, r2, jointype='<STR_LIT>', r1postfix='<STR_LIT:1>', r2postfix='<STR_LIT:2>',<EOL>defaults=None):
kwargs = dict(jointype=jointype, r1postfix=r1postfix, r2postfix=r2postfix,<EOL>defaults=defaults, usemask=False, asrecarray=True)<EOL>return join_by(key, r1, r2, **kwargs)<EOL>
Join arrays `r1` and `r2` on keys.
Alternative to join_by, that always returns a np.recarray.

See Also
--------
join_by : equivalent function