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
Learner III
Answers
Which RapidMiner and Python Scripting Version are you using? This should be supported from 9.6.0 on.
Greetings,
Jonas
1. Create a new conda environment (conda create -n rm310 python=3.10)
2. Activate the environment (conda activate rm310)
3. Install pandas (pip install pandas)
4. Open RapidMiner and Point the Python scripting extension (found under properties) to this new environment rm310
Create a simple process that executes the following code:
import pandas as pd import numpy as np # rm_main is a mandatory function, # the number of arguments has to be the number of input ports (can be none), # or the number of input ports plus one if "use macros" parameter is set # if you want to use macros, use this instead and check "use macros" parameter: #def rm_main(data,macros): def rm_main(): df = pd.DataFrame({'x':np.arange(1,10)}) return dfThe results:
FWIW I am on MacOS Catalina 10.15.7.