Skip to content

Commit

Permalink
NamedArray.ndim can only be int (pydata#8362)
Browse files Browse the repository at this point in the history
  • Loading branch information
Illviljan authored Oct 23, 2023
1 parent dd5eb51 commit 7a68281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xarray/namedarray/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ def copy(
return self._copy(deep=deep, data=data)

@property
def ndim(self) -> _IntOrUnknown:
def ndim(self) -> int:
"""
Number of array dimensions.
Expand Down

0 comments on commit 7a68281

Please sign in to comment.