Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.

Write CSV only if dataset is not empty

pablo_odapablo_oda Member Posts: 3 Learner II
edited June 2020 in Help
I am creating a couple of csv after some processing, ocassionally one or more of the datasets are empty (0 examples). Problem is they are still created as CSV that only shows the attributes and in that case, I rather skip the Write CSV operator.

I imagine I have to go with the branch operator, but I don't understand how to use it to check the numbers of example to use it as a condition.

Best Answer

Answers

  • pablo_odapablo_oda Member Posts: 3 Learner II
    Wow, I can't believe skipped that. As soon as I open Rapidminer I'll test it.
  • pablo_odapablo_oda Member Posts: 3 Learner II
    It worked, I don't know how did I miss it. Thanks @kayman!
Sign In or Register to comment.