Skip to content

Commit

Permalink
Remove a stray debugging print() in AttrSeries.expand_dims()
Browse files Browse the repository at this point in the history
  • Loading branch information
khaeru committed Mar 22, 2021
1 parent bada1a6 commit 5db7636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion genno/core/attrseries.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ def expand_dims(

result = self
for name, values in reversed(list(dim.items())):
print(name, values)
result = pd.concat([result] * len(values), keys=values, names=[name])

return result
Expand All @@ -188,6 +187,7 @@ def item(self, *args):

def rename(self, new_name_or_name_dict):
"""Like :meth:`xarray.DataArray.rename`."""
# TODO add **names kwargs
if isinstance(new_name_or_name_dict, dict):
return self.rename_axis(index=new_name_or_name_dict)
else:
Expand Down

0 comments on commit 5db7636

Please sign in to comment.