Skip to content

Commit be5e769

Browse files
committed
add note about import location
1 parent e73cdf2 commit be5e769

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

xarray/core/indexing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ def group_indexers_by_index(
138138
options: Mapping[str, Any],
139139
) -> list[tuple[Index, dict[Any, Any]]]:
140140
"""Returns a list of unique indexes and their corresponding indexers."""
141+
# import here instead of at top to guard against circular imports
141142
from xarray.core.indexes import PandasIndex
142143

143144
unique_indexes = {}

0 commit comments

Comments
 (0)