From 8bb32e1ac6acfbcbbe190878e0d576395b9f2af6 Mon Sep 17 00:00:00 2001 From: Marco Gorelli <33491632+MarcoGorelli@users.noreply.github.com> Date: Tue, 12 Nov 2024 15:58:22 +0000 Subject: [PATCH] fixup --- narwhals/_pandas_like/series.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/narwhals/_pandas_like/series.py b/narwhals/_pandas_like/series.py index 099224662..abdb39fc9 100644 --- a/narwhals/_pandas_like/series.py +++ b/narwhals/_pandas_like/series.py @@ -18,7 +18,7 @@ from narwhals._pandas_like.utils import to_datetime from narwhals._pandas_like.utils import validate_column_comparand from narwhals.utils import Implementation -from narwhals.utils import generate_unique_token +from narwhals.utils import generate_temporary_column_name if TYPE_CHECKING: from types import ModuleType @@ -726,7 +726,7 @@ def to_dummies( output_order = [null_col_pd, *cols] else: output_order = list(result.columns) - null_col_pd = generate_unique_token(n_bytes=8, columns=output_order) + null_col_pd = generate_temporary_column_name(n_bytes=8, columns=output_order) return PandasLikeDataFrame( result.loc[:, output_order].rename(