daft.Series
daft.Series#
- class daft.Series[source]#
A Daft Series is an array of data of a single type, and is usually a column in a DataFrame.
Methods
from_pylist
(data[, name, pyobj])Construct a Series from a Python list.
from_arrow
(array[, name])Construct a Series from an pyarrow array or chunked array.
from_numpy
(data[, name])Construct a Series from a NumPy ndarray.
from_pandas
(data[, name])Construct a Series from a pandas Series.
Convert this Series to a Python list.
to_arrow
([cast_tensors_to_ray_tensor_dtype])Convert this Series to an pyarrow array.