to_float

Contents

to_float#

to_float(val: Any) float[source]#

Convert from numpy dtype (which are not JSON serializable) to standard dtype

Parameters:

val (Any) – Value in numpy dtype to be converted to float

Returns:

Value converted

Return type:

float