We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 316a59b commit c23f443Copy full SHA for c23f443
xarray/core/dataset.py
@@ -4957,7 +4957,7 @@ def set_xindex(
4957
# Add ALL variables returned by create_variables()
4958
for name, var in new_coord_vars.items():
4959
variables[name] = var
4960
-
+
4961
# Set index only for the original coordinate name
4962
coord_name = list(coord_names).pop()
4963
indexes[coord_name] = index
@@ -4977,7 +4977,7 @@ def set_xindex(
4977
4978
4979
4980
4981
# Set index for all original coordinate names
4982
for name in coord_names:
4983
indexes[name] = index
0 commit comments