Andreas Postel
12/11/2024, 2:26 PMHall
12/11/2024, 2:27 PMYury Fedotov
12/11/2024, 2:40 PMdict
mapping filenames to dataframes.
So you can do, inside the node:
for filename, df in partitioned_dataset.items():
df[“origin”] = filename
And then concatenate all dataframes, i.e., values of this dictionary.Andreas Postel
12/11/2024, 2:43 PMMerel
12/11/2024, 3:45 PMMerel
12/11/2024, 3:54 PMnode.namespace
https://docs.kedro.org/en/stable/api/kedro.framework.hooks.specs.NodeSpecs.htmlAndreas Postel
12/16/2024, 7:41 AMRavi Kumar Pilla
12/20/2024, 9:31 PMbefore_node_run
hook. (i.e., modifying node inputs mentioned here). Thank youAndreas Postel
01/14/2025, 9:22 AM