πŸ“„ Cast To Float Return 0 5 If FailedΒΆ

operators.cast_to_float_return_0_5_if_failed

Cast(
    to="float",
    failure_default=0.5,
)
[source]

Explanation about CastΒΆ

Casts specified fields to specified types.

Args:

default (object): A dictionary mapping field names to default values for cases of casting failure. process_every_value (bool): If true, all fields involved must contain lists, and each value in the list is then casted. Defaults to False.

Read more about catalog usage here.