Skip to content

Commit

Permalink
ruffen
Browse files Browse the repository at this point in the history
  • Loading branch information
jpn-- committed Nov 24, 2024
1 parent e408414 commit ba8527b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sharrow/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def from_table(
result = xr.Dataset()
if isinstance(index, pd.MultiIndex):
dims = tuple(
name if name is not None else "level_%i" % n
name if name is not None else f"level_{n}"
for n, name in enumerate(index.names)
)
for dim, lev in zip(dims, index.levels):
Expand Down

0 comments on commit ba8527b

Please sign in to comment.