The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Exclude files based on missing column
Kumar_Ayush
Member Posts: 7 Learner I
in Help
Hello,
I am trying to read multiple csv files form a folder, in those there is a column called “Time”, but few of the files have this column missing, need help to skip those files and further operation to be done on the files which have “Time” column in them.
0
Best Answer
-
MarcoBarradas Administrator, Employee-RapidMiner, RapidMiner Certified Analyst, Member Posts: 272 UnicornHi @Kumar_Ayush:
You could use the Branch operator with the check for attribute_available, and if it's not skip the file.
If the attribute is available and all of the examples are missing for it you can also build some logic arround it.Data Engineering Master - Handle Exceptions and Branches | RapidMiner
0