to_numpy

Frame.to_numpy()

Convert the frame to a numpy array.

Returns

np.ndarray

Numpy array representation of the frame.

Examples

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