def map_float(to_float) ->float:
    """Maps value to float from a string.

    Parameters
    ----------
    to_float: various (usually str)
        Value to be converted to float.

    Returns
    -------
    mapped_float: float
        Value mapped to float.

    Examples
    --------
    >>> number_one = "1"

    >>> error_value = "will cause error"

    >>> one_to_float = map_float(number_one) # will convert to 1.0

    >>> error_to_float = map_float(error_value) # will cause exception
    """
    try:
        mapped_float = float(to_float)
    except ValueError:
        raise ValueError("Float Value Expected Got '{}'".format(to_float))
    return mapped_float
