Skip to content

Commit 8972aa4

Browse files
committed
>> (uggly hack): added todo comment
1 parent 87e06c1 commit 8972aa4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

larray/inout/pandas.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,5 +340,6 @@ def parse_axis_name(name):
340340
unfold_last_axis_name=unfold_last_axis_name, cartesian_prod=cartesian_prod, **kwargs)
341341

342342
# ugly hack to avoid anonymous axes converted as axes with name 'Unnamed: x' by pandas
343+
# TODO : find a more robust and elegant solution
343344
res = res.rename({axis: None for axis in res.axes if isinstance(axis.name, basestring) and 'Unnamed' in axis.name})
344345
return res

0 commit comments

Comments
 (0)