From 014fc7846adec34dc320a5304d1a13a7b5e725a4 Mon Sep 17 00:00:00 2001 From: Niko Aarnio Date: Wed, 18 Sep 2024 11:40:44 +0300 Subject: [PATCH] fix: fix type hint from float to Number --- eis_toolkit/exploratory_analyses/descriptive_statistics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eis_toolkit/exploratory_analyses/descriptive_statistics.py b/eis_toolkit/exploratory_analyses/descriptive_statistics.py index 9830d91b..e6db1283 100644 --- a/eis_toolkit/exploratory_analyses/descriptive_statistics.py +++ b/eis_toolkit/exploratory_analyses/descriptive_statistics.py @@ -44,7 +44,7 @@ def _descriptive_statistics( @beartype def descriptive_statistics_dataframe( input_data: Union[pd.DataFrame, gpd.GeoDataFrame], column: str -) -> Dict[str, float]: +) -> Dict[str, Number]: """Compute descriptive statistics from vector data. Computes the following statistics: