mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-07-25 07:20:18 -07:00
tuple type
This commit is contained in:
parent
d3efcbdeb3
commit
e539db86ab
2 changed files with 5 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
from typing import List, NamedTuple
|
||||
from typing import List, NamedTuple, Tuple
|
||||
import pandas as pd
|
||||
import geopandas as gpd
|
||||
|
||||
|
@ -41,7 +41,7 @@ def _prepare_dataframe_for_imputation(
|
|||
impute_var_named_tup_list: List[NamedTuple],
|
||||
geo_df: gpd.GeoDataFrame,
|
||||
geoid_field: str = "GEOID10_TRACT",
|
||||
) -> tuple[list, gpd.GeoDataFrame]:
|
||||
) -> Tuple[list, gpd.GeoDataFrame]:
|
||||
imputing_cols = [
|
||||
impute_var_pair.raw_field_name
|
||||
for impute_var_pair in impute_var_named_tup_list
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue