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

How to "store" data sets without ".csv" using operator "Loop File"+"read csv"?

blatooblatoo Member Posts: 32 Contributor II
Hi all,

I have a bunch of csv files. I want to read them into my repository.

So I use "Loop File" and "Read.CSV" read all the data in the folder and "store" them with: repository entry: .../%{file_name}.

It works, but I have a problem, I don't want the name of the data sets in my repository with ".csv" extension. How can I do it?

Answers

  • blatooblatoo Member Posts: 32 Contributor II
    I found the solution at last. I used the "generate macro" to control the file_name string.

    But I am still want to know, are there any better ways to do that?
  • MartinLiebigMartinLiebig Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,533 RM Data Scientist
    Hi,

    i would have gone the generate macro way as well. Seems like the fastest one for me.

    ~Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
Sign In or Register to comment.