def enquote(s):
    """
    Enquote string if it's not numeric.

    Args:
        s (str): The string to enquote.

    Returns:
        str: A quoted string or unquoted numeric value as a string.
    """
    try:
        float(s)
    except ValueError:
        s_ = f'"{s}"'
    else:
        s_ = s
    return s_