chore: Update mypy and fix stubs issue (#24033)

This commit is contained in:
EugeneTorap
2023-05-12 10:47:14 +03:00
committed by GitHub
parent 7fe0ca12c0
commit 4a828f57f4
22 changed files with 49 additions and 39 deletions

View File

@@ -99,8 +99,8 @@ def boxplot(
return np.nanpercentile(series, low)
else:
whisker_high = np.max # type: ignore
whisker_low = np.min # type: ignore
whisker_high = np.max
whisker_low = np.min
def outliers(series: Series) -> Set[float]:
above = series[series > whisker_high(series)]