条件に応じた分岐処理の方法について

Fukuyama
Fukuyama Dataiku DSS Core Designer, Registered Posts: 7 ✭✭✭

データセットの内容に応じて、実行するレシピを変更するにはどうしたらよいのでしょうか。(IF文での条件分岐)

例えば、データセットAのCOL1カラムの1行目の値が、「True」であればPrepareレシピを実行し、「False」であればGroupレシピを実行する、ような処理が行えればと考えています。

よろしくお願いいたします。

Answers

  • Turribeach
    Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,024 Neuron

    Translatation from Google:


    @Kazuki93
    wrote:

    About branch processing methods according to conditions
    How can I change the recipe I run depending on what's in my dataset? (Conditional branch in IF statement)

    For example, if the value of the first row of the COL1 column of dataset A is "True", the Prepare recipe will be executed, and if it is "False", the Group recipe will be executed. Masu.

    Thank you.


    You can use a Split recipe for this, but this is meant to split the rows of your dataset not to branch the whole input based on the value of the first row. So we would need to understand your requirement properly to help you further. Please try to post in English so that your post can be understood by everyone without having to translate it first.

    Thanks

Setup Info
    Tags
      Help me…