def METHOD_NAME(create_pivot, test_case):
    """Test calling function with DF input attributes."""
    func = getattr(getattr(test_case.entity, test_case.provider), test_case.pivot_func)
    # Test DF input
    val = test_case.value.keys()
    in_df = pd.DataFrame(val, columns=[test_case.src_df_col])
    result_df = func(data=in_df, src_column=test_case.src_df_col)
    for key, expected in test_case.value.items():
        key_results = result_df[result_df[test_case.key_col] == key]
        if isinstance(expected, dict):
            for exp_value in expected.values():
                if exp_value == "input":
                    exp_value = key
                check.is_in(exp_value, key_results[test_case.exp_col].values)
        else:
            check.is_in(expected, key_results.iloc[0][test_case.exp_col])