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
"Export Excel with multiple sheets"
Hello,
i can't find a solution for my problem. So i hope you guys could help me.
I'm creating two (or more) different results with rapidminer and i'd like them to write into one excel file in different sheets.
I'd really appreciate a hint how i could achieve this.
Kind regards,
swas
Edit:
I'm currently experimenting with macros and loops. But i'm unsure if that's the right way to do it.
I'd be also curious if it's possible to get the name of an retrieved dataset.
Tagged:
0
Answers
The Advanced Reporting Extension, which is available in the marketplace, allows you to do this. It is a paid extension but the cost is very reasonable. If there is a way to do it with the basic RapidMiner operators, I don't know how.
Lindon Ventures
Data Science Consulting from Certified RapidMiner Experts
hi @swas - so @Telcontar120 is correct. It should be easy but it's just not possible with the current tools. If you're really adventurous, you can see how I unzipped an XLSX file to do the opposite of what you're asking to get sheet names; it should work for your purposes: https://community.rapidminer.com/t5/RapidMiner-Studio-Forum/Extract-Sheet-name-from-an-Excel-file/td-p/44747
Scott
Hi again @swas,
Here a process where each exampleset is copied in a different excel file using the Write Excel operator.
It's not exactly what you want, but you can in Excel right click on a sheet and select export and then export the sheet to the excel file
where you want to store all your example sets.
Here the process :
NB : I try to do the same thing and "to tinker" with the Advanced Reporting Extension (the free features), but in fine
RapidMiner raise an error or only the last excel file is created (the precedent are crushed).
I hope this process (to adapt to your own project) will help you despite all.
Regards,
Lionel
One option would be to save multiple CSV files, and then combine them directly with excel. There are some macros going around that are fit for the task, take a look at:
https://stackoverflow.com/questions/12162477/importing-multiple-csv-to-multiple-worksheet-in-a-single-workbook
There also some plugins for Excel that can do it, but I don't know if they are free or not.
Hi @swas,
@SGolbert inspire me a solution to automatically import the sheets of the created Excel files by RapidMiner (process I share above) in one single Excel file :
You can download this Excel file with macros by clicking on the following link :
https://drive.google.com/file/d/1W5gLA2J3xUh8W-sTMxN5KXgt1kZDez5g/view?usp=sharing
1. You have first to select the path where your Excel files have been saved.
Warning : All you excel file(s) have to be stored in the same path (which is normally the case after running the RapidMiner process) and no other Excel file(s) should be stored in this path.
2. You click on the 'Import Excel sheets' button
3. Normally, the sheets of the saved Excel file(s) are imported in the Excel file.
Regards,
Lionel
NB : We're getting away from RapidMiner but it's for a good cause