cudf.DataFrame.to_struct#

DataFrame.to_struct(name=None)#

Return a struct Series composed of the columns of the DataFrame.

Parameters
name: optional

Name of the resulting Series

Notes

Note that a copy of the columns is made.