Skip to content

Commit 6c1daaa

Browse files
authored
🐛 stats: fix mode return type (#809)
1 parent e317881 commit 6c1daaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scipy-stubs/stats/_stats_py.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ def pmean(
353353
) -> _RealOrND: ...
354354

355355
#
356-
def mode(a: onp.ToFloatND, axis: int | None = 0, nan_policy: NanPolicy = "propagate", keepdims: bool = False) -> _RealOrND: ...
356+
def mode(a: onp.ToFloatND, axis: int | None = 0, nan_policy: NanPolicy = "propagate", keepdims: bool = False) -> ModeResult: ...
357357

358358
#
359359
def tmean(

0 commit comments

Comments
 (0)