apply list-returning function to all rows in a pandas DataFrame
I need to apply a function and have the returned list’s values inserted into columns in the (new) dataframe. That is, if I have this:
Assigning a new column applying a function
I’ve got 2 Dataframes. I’ll post them in a reduced form for readability: