hipdf.DataFrame.to_pylibcudf

hipdf.DataFrame.to_pylibcudf#

21 min read time

Applies to Linux

DataFrame.to_pylibcudf(copy: bool = False) tuple[Table, dict]#

Convert this DataFrame to a pylibcudf.Table.

Parameters#

copybool

Whether or not to generate a new copy of the underlying device data

Returns#

pylibcudf.Table

A pylibcudf.Table referencing the same data.

dict

Dict of metadata (includes column names and dataframe indices)

Notes#

User requests to convert to pylibcudf must assume that the data may be modified afterwards.