cudf.Index.to_frame#
- Index.to_frame(index=True, name=None)#
Create a DataFrame with a column containing this Index
- Parameters
- indexboolean, default True
Set the index of the returned DataFrame as the original Index
- namestr, default None
Name to be used for the column
- Returns
- ——-
- DataFrame
cudf DataFrame