https://kedro.org/ logo
#beginners-need-help
Title
# beginners-need-help
i

inigohrey

07/28/2022, 9:24 AM
Hi! Is there a way in Kedro to do parameter unpacking (
**dict
) when defining a node, or maybe there's an alternative way of achieving what I want: I want to merge two datasets using
pd.merge
and pass it a set of parameters I define in config, but don't want to pass specific parameters à la
["params:merge.on", "params:merge.how"]
, as I want to keep the node as general as possible, so I can pass different sets of parameters, such as
left_on
or
right_index
. I'd want to just unpack
[**"params:merge"]
values as kwargs. I could write a node which does that before passing to
pd.merge
, but I would like to avoid that if possible as it is something I would like to do for multiple different functions, not just
pd.merge
.