dask_expr._collection.Index.copy

dask_expr._collection.Index.copy

Index.copy(deep: bool = False)

Make a copy of the dataframe

This is strictly a shallow copy of the underlying computational graph. It does not affect the underlying data

Parameters
deepboolean, default False

The deep value must be False and it is declared as a parameter just for compatibility with third-party libraries like cuDF and pandas