Series#

Series

A Daft Series is an array of data of a single type, and is usually a column in a DataFrame.

Creation#

daft.Series.from_pylist

Construct a Series from a Python list.

daft.Series.from_arrow

Construct a Series from an pyarrow array or chunked array.

daft.Series.from_numpy

Construct a Series from a NumPy ndarray.

daft.Series.from_pandas

Construct a Series from a pandas Series.

Conversion#

daft.Series.to_pylist

Convert this Series to a Python list.

daft.Series.to_arrow

Convert this Series to an pyarrow array.