Hot fix for Score M (#1182)

* fixes

* pr feedback

* tuple
This commit is contained in:
Jorge Escobar 2022-01-27 17:22:39 -05:00 committed by GitHub
commit 2b35a8937a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 13 deletions

View file

@ -1,3 +1,4 @@
from typing import Tuple
import numpy as np
import pandas as pd
@ -27,7 +28,7 @@ class ScoreM(Score):
column_from_decennial_census: str,
combined_column_name: str,
threshold_cutoff_for_island_areas: float,
) -> (pd.DataFrame, str):
) -> Tuple[pd.DataFrame, str]:
"""Steps to set thresholds for island areas.
This function is fairly logically complicated. It takes the following steps: