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

changing data type after loop file or zip reading

ekhlasekhlas Member Posts: 2 Learner I
edited September 2020 in Help
hello, 

after reading the loop zip file and trying to append multiple data set, data types don't match even though the same column name? 
i tried selecting attribute before the append but the problem is data attributes don't appear.
can i find more suggestion ?

Answers

  • David_ADavid_A Administrator, Moderator, Employee-RapidMiner, RMResearcher, Member Posts: 297 RM Research
    Hi @ekhlas ,

    this can happen if the types differ in the files. Typically this happens if you have number columns and then some extra status codes or missing value encodings.

    The simplest solution is to use Append (Robust) or the Append (Superset) operator from the Toolbox extension.
    Afterwards the Parse Numbers operator can be helpful to make sure number columns are correctly recognized.

    Best,
    David

  • ekhlasekhlas Member Posts: 2 Learner I
    edited October 2020
    thank you, it worked 
  • Telcontar120Telcontar120 RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,635 Unicorn
    Another option is to import all fields from all files as nominals, and then later after you do the append you can see which fields contain only numerical values and use Parse Numbers at that point.

    Brian T.
    Lindon Ventures 
    Data Science Consulting from Certified RapidMiner Experts
Sign In or Register to comment.