def METHOD_NAME(
    path: str, output: str, k: int, **kwargs
) -> None:
    """Output the configuration based on the maximal objective found in the CSV input file.
    :meta private:
    Args:
        path (str): Path of the CSV input file.
        output (str): Path of the output file ending in (.csv|.yaml|.json).
        k (int): Number of configuration to output.
    """
    input_extension = path.split(".")[-1]
    if input_extension == "csv":
        df = pd.read_csv(path)
        output_best_configuration_from_df(df, output, k)
    else:
        raise DeephyperRuntimeError(
            f"The specified input file extension '{input_extension}' is not supported."
        )