cudf.Series.from_pylibcudf#
- classmethod Series.from_pylibcudf(col: Column, metadata: dict | None = None) Self [source]#
Create a Series from a pylibcudf.Column.
- Parameters:
- colpylibcudf.Column
The input Column.
- Returns:
- pylibcudf.Column
A new pylibcudf.Column referencing the same data.
Notes
This function will generate a Series which contains a Column pointing to the provided pylibcudf Column. It will directly access the data and mask buffers of the pylibcudf Column, so the newly created object is not tied to the lifetime of the original pylibcudf.Column.