Skip to content

lisa: Fix pl.LazyFrame.rename() uses

Douglas Raillard requested to merge douglas-raillard-arm/lisa:_pr0000094 into main

FIX

The new column names must not already exist in the LazyFrame, otherwise a duplicated column error will arise later on.

Fix that issue by dropping any column that we plan on creating with the rename operation prior to the rename.

Merge request reports

Loading