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
Execute Python: Script cannot be parsed error!
Hello! For some reason, when i press run to execute python, this popped up. May i know what's wrong?
0
Best Answer
-
MartinLiebig Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,533 RM Data Scientist
Hi,
please have a look at the documentation and the examples. You need to define a main function called rm_main(...) which needs to be called. It's all explained in the examples.
BR,
Martin
- Sr. Director Data Solutions, Altair RapidMiner -
Dortmund, Germany1
Answers
Thank you so much! I have one more question!
As far as I can see the result should be your csv file, as you basically do data in -> data out
If you want to use the print logic keep in mind that the behaviour might be a bit unexpected, as the python operator will write your print statements to the log file, but not to the output. The output will be a panda dataframe by default