David Michael Carter02/28/2022, 5:03 PM
Am I on the right track here, or do I need a completely new approach?
finalDF = finalDF.append(foo.map(aList)) TypeError: cannot concatenate object of type '<class 'prefect.tasks.core.function.FunctionTask'>'; only Series and DataFrame objs are valid
Kevin Kho02/28/2022, 5:07 PM
and then if you get a list of DataFrames, you’ll need another task for that logic. There is a distinction between build time and runtime. Tasks are evaluated during runtime. This append is evaluated during build time when
hasn’t materialized yet. You likely need to encapsulate this logic in a task and call the append inside a task to defer the execution
David Michael Carter02/28/2022, 5:50 PM
is a list obj