Further cleanup

This commit is contained in:
Landon Wark
2024-02-09 15:00:53 -06:00
parent a534d229a8
commit a7e915995e
8 changed files with 14 additions and 8 deletions

View File

@@ -94,6 +94,12 @@ def convert_nans_to_nones(input_str) -> str|None:
return input_str
return None
def is_missing(value:Any) -> Tuple[Any, bool]:
if check_not_nan(value):
return value, False
else:
return convert_nans_to_nones(value), True
def check_regex_match(pattern:str, check:str) -> bool:
"""
Determines if a pattern matches a str