get_impute_method function

Get the impute function from either the intervals column or from the method