Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Nov 12, 2024
1 parent fe7b644 commit 8bb32e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions narwhals/_pandas_like/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 8bb32e1

Please sign in to comment.