Skip to content

Commit 7a68281

Browse files
authored
NamedArray.ndim can only be int (#8362)
1 parent dd5eb51 commit 7a68281

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xarray/namedarray/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ def copy(
395395
return self._copy(deep=deep, data=data)
396396

397397
@property
398-
def ndim(self) -> _IntOrUnknown:
398+
def ndim(self) -> int:
399399
"""
400400
Number of array dimensions.
401401

0 commit comments

Comments
 (0)