astype

Frame.astype(type_)

Cast the values of the frame to the specified type.

Parameters

type_type

Type to cast the values to.

Examples

>>> frame = Frame(np.array([[1, 2], [3, 4]]))
>>> frame.astype(float)