Alberto de Santos
10/23/2020, 9:30 AMmap
over a DataFrame
, do you have any idea? I see very clear how to make it over a list
. To my mind, it seems straightforward to convert the DataFrame
into a list
. So, I would like to know your opinion.ale
10/23/2020, 10:54 AMScott Asher
10/23/2020, 1:07 PMDataFrame.applymap
which applies a function to every element in a DataFrame
if that helps?emre
10/23/2020, 1:20 PMDataFrame
row, your upstream task can return a list of rows, and you can map over that:
return list(df.iterrows())
Alberto de Santos
10/23/2020, 8:29 PMiterrows()
I am aware that DataFrame
has an apply
method, but not usable from a Task
perspective.