Skip to content

Commit 37ccf7e

Browse files
committed
fixed transpose_any
1 parent 850bdbd commit 37ccf7e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

larray/utils.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,10 @@ def __sub__(self, other):
581581
return oset([e for e in self.l if e not in other_s])
582582

583583
def __eq__(self, other):
584-
return self.s == other.s
584+
# XXX: not sure checking ordering is the same is a good idea but
585+
# _pandas_transpose_any relies on this for level orderings !
586+
return self.l == other.l
587+
# return self.s == other.s
585588

586589
def __iter__(self):
587590
return iter(self.l)

0 commit comments

Comments
 (0)