Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure cudf.Series(cudf.Series(...)) creates a reference to the same …
…index (#15845) Aligns these behaviors ```python In [1]: import pandas as pd In [3]: ser1 = pd.Series(range(3), index=list("Abc")) In [4]: ser2 = pd.Series(ser1) In [5]: ser1.index is ser2.index Out[5]: True In [6]: import cudf In [7]: ser1 = cudf.Series(range(3), index=list("Abc")) In [8]: ser2 = cudf.Series(ser1) In [9]: ser1.index is ser2.index Out[9]: False ``` Authors: - Matthew Roeschke (https://github.com/mroeschke) Approvers: - Vyas Ramasubramani (https://github.com/vyasr) - GALI PREM SAGAR (https://github.com/galipremsagar) URL: #15845
- Loading branch information