Skip to content

Commit 82a35c9

Browse files
committed
potential future fixes
1 parent 90dca30 commit 82a35c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

larray/core.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,10 +596,12 @@ def __sub__(self, other):
596596
raise ValueError
597597

598598
def copy(self):
599+
#XXX: I wonder if we should make a copy of the labels
599600
return Axis(self.name, self.labels)
600601

601602
def sorted(self):
602603
res = self.copy()
604+
#FIXME: this probably also sorts the original axis !
603605
res.labels.sort()
604606
res._update_mapping()
605607
return res

0 commit comments

Comments
 (0)