Equals.get_augment_funcΒΆ

Equals.get_augment_func(inverse, **kwargs)

Return the functions needed to augment the dataframe so that the rule is covered.

The returned object is a Dict[str, Callable], where keys are the columns where the result of the function in the values will be applied.

For example, if get_augment_func returns {col_name: func}, it will be applied as >>> df[col_name] = df.apply(func, axis=1)

Return type

Dict[str, Callable]