cudf.MultiIndex.from_arrow#
- classmethod MultiIndex.from_arrow(data)#
Convert from PyArrow Table to Frame
- Parameters
- dataPyArrow Table
- Raises
- TypeError for invalid input type.
Examples
>>> import cudf >>> import pyarrow as pa >>> data = pa.table({"a":[1, 2, 3], "b":[4, 5, 6]}) >>> cudf.core.frame.Frame.from_arrow(data) a b 0 1 4 1 2 5 2 3 6