Open Matt711 opened 1 day ago
Describe the bug See the reproducer
Steps/Code to reproduce bug cudf:
import cudf df = cudf.DataFrame({"a":[1,2]}) print(df.columns.names) df.columns.names = ["foo"] print(df.columns.names)
[None] [None]
pandas:
import pandas as pd df = pd.DataFrame({"a":[1,2]}) print(df.columns.names) df.columns.names = ["foo"] print(df.columns.names)
[None] ['foo']
Expected behavior Match pandas
xref #17481
xref https://github.com/rapidsai/cudf/issues/14012 too
Describe the bug See the reproducer
Steps/Code to reproduce bug cudf:
pandas:
Expected behavior Match pandas