pyarrow.Tensor

class pyarrow.Tensor

Bases: object

__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

equals(self, Tensor other) Return true if the tensors contains exactly equal data
from_numpy(obj)
to_numpy(self) Convert arrow::Tensor to numpy.ndarray with zero copy
equals(self, Tensor other)

Return true if the tensors contains exactly equal data

static from_numpy(obj)
is_contiguous
is_mutable
ndim
shape
size
strides
to_numpy(self)

Convert arrow::Tensor to numpy.ndarray with zero copy

type