cudf.Index.to_pylibcudf#

Index.to_pylibcudf(copy=False) tuple[Column, dict][source]#

Convert this Index to a pylibcudf.Column.

Parameters:
copybool

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

Returns:
pylibcudf.Column

A new pylibcudf.Column referencing the same data.

dict

Dict of metadata (includes name)

Notes

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