Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

la.align() bug with empty larrys #67

Closed
kwgoodman opened this Issue · 0 comments

1 participant

@kwgoodman
Owner

Create two larrys, one empty one not:

In [1]: a = la.larry([])
In [2]: b = la.larry([1, 2, 3])

This works:

In [3]: la.align(a, b, join='left') 
Out[3]: 
(label_0
x
array([], dtype=float64), label_0
x
array([], dtype=int32))

But this doesn't:

In [4]: la.align(a, b, join='right')
IndexError: cannot do a non-empty take from an empty axes.
@kwgoodman kwgoodman added the bug label
@kwgoodman kwgoodman closed this in ae67e20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.