def METHOD_NAME(
    val: Any, output_format: str = "standard", split: bool = False, errors: str = "coarse"
) -> Any:
    """
    Reformat a number string with proper separators (formats).
    Parameters
    ----------
    val
           The value of number string.
    output_format
           If output_format = 'compact', return string without any separators.
           If output_format = 'standard', return string with proper separators function.
           If output_format = 'isbn13', return ISBN string with 13 digits.
           If output_format = 'isbn10', return ISBN string with 10 digits.
    """
    val = str(val)
    result: Any = []
    if val in NULL_VALUES:
        if split:
            return [np.nan, np.nan, np.nan, np.nan, np.nan, np.nan]
        else:
            return [np.nan]
    if not validate_isbn(val):
        if errors == "raise":
            raise ValueError(f"Unable to parse value {val}")
        error_result = val if errors == "ignore" else np.nan
        if split:
            return [error_result, np.nan, np.nan, np.nan, np.nan, np.nan]
        else:
            return [error_result]
    if split:
        result = list(isbn.split(isbn.to_isbn13(val)))
        if len(result) == 0:
            return [np.nan, np.nan, np.nan, np.nan, np.nan, np.nan]
    if output_format == "compact":
        result = [isbn.compact(val)] + result
    elif output_format == "standard":
        result = [isbn.format(val)] + result
    elif output_format == "isbn13":
        result = [isbn.format(isbn.to_isbn13(val))] + result
    elif output_format == "isbn10":
        result = [isbn.format(isbn.to_isbn10(val))] + result
    return result