Skip to content

Commit

Permalink
refactor: Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
roquelopez committed Aug 8, 2024
1 parent 89d6dc1 commit e60f14c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bdikit/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,9 @@ def _format_value_matching_input(
return target_domain, column_mapping_list


def _value_matching_result_to_df(matching_result: ValueMatchingResult, default_unmatched: Any = np.nan) -> pd.DataFrame:
def _value_matching_result_to_df(
matching_result: ValueMatchingResult, default_unmatched: Any = np.nan
) -> pd.DataFrame:
"""
Transforms the list of matches and unmatched values into a DataFrame.
"""
Expand Down Expand Up @@ -922,4 +924,4 @@ def _create_mapper_from_value_matches(matches: List[ValueMatch]) -> DictionaryMa
},
df_value_mapping_2, # a DataFrame returned by match_values()
]
"""
"""

0 comments on commit e60f14c

Please sign in to comment.