cudf.DataFrame.to_struct#

DataFrame.to_struct(name=None)[source]#

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

Parameters:
name: optional

Name of the resulting Series

Notes

Note: a copy of the columns is made.