src/transformers/models/tapas/tokenization_tapas.py/_get_numeric_value_from_float
def _get_numeric_value_from_float(value):
    """Converts float (Python) to a NumericValue object with a float value."""
    return NumericValue(float_value=value)