noctis.data_transformation.preprocessing.utilities._update_partition_dict_with_row

noctis.data_transformation.preprocessing.utilities._update_partition_dict_with_row(target_dict: dict[slice(<class 'str'>, <class 'list'>, None)], source_dict: dict[slice(<class 'str'>, <class 'list'>, None)])[source]

Update the target dictionary with values from the source dictionary.

Args:

target_dict (dict[str, list]): The dictionary to be updated. source_dict (dict[str, list]): The dictionary providing new values.

Note:

If a key exists in the target dictionary, values are extended; otherwise, the key is added.