Ich habe Folgendes versucht, was nicht funktioniert, da with_columns ein Iterable erwartet.
Code: Select all
def append_columns(df:pl.LazyFrame):
df2 = pl.LazyFrame([1,2])
return df.with_columns(df2)
Code: Select all
def append_columns(df:pl.LazyFrame):
df2 = pl.LazyFrame([1,2])
return df.with_columns(df2)