Why metric only supports: int, float, str, or None


image
And I want to use astype to force the type to be converted, but is there any good solution~!