How to extract values based on column names and put it in another column in polars?
I would like to fill a value in a column based on another columns’ name, in the Polars library from python (I obtained the following DF by exploding my variables’ column names):