Categories

Versions

You are viewing the RapidMiner Developers documentation for version 9.7 - Check here for latest version

Python Scripting Extension - Release Notes

Version 9.7.0

Release date: Jun 3, 2020

When upgrading RapidMiner Server to version 9.7 or later, you must also update the Python Scripting Extension to version 9.7.

New Features

  • As the new repositories support storing arbitrary files, support for dragging and dropping .py and .ipynb files to the canvas has been introduced. RapidMiner Studio will take care of creating the necessary operators.
    • Note: no adjustments are made to the code when dragging and dropping, so users still need to take care of creating the rm_main function so the code will get executed properly. A run-time error will be displayed if this is not done.

Enhancements

  • Added support for projects, so the rapidminer Python library can function correctly.

Bugfixes

  • Optional hidden parameter (rapidminer.python_scripting.shell_command) added to avoid potential freeze during extension initialization on Linux and macOS(default value: bash -l -i -c)

Version 9.6.0

Release date: Feb 25, 2020

New Features

  • Macros are now accessible in Execute Python in an optional dict parameter. Their value can be modified in the script.

Enhancements

  • Pandas 1.0+ is now supported

Bugfixes

  • Array-like values in a DataFrame cell no longer cause error when the DataFrame is returned on the output
  • Irrelevant potential DtypeWarning while loading an input is suppressed now

Version 9.5.0

Release date: Dec 11, 2019

New Features

  • None at this time.

Enhancements

  • Improved robustness of Python execution on Mac and Linux systems
  • Improved data handover between RapidMiner and Python (expected to be faster, but slightly increased memory footprint)

Bugfixes

  • Fixed NoSuchMethodError when Execute Python is used in a web service on Server
  • Macros are now also substituted if you are using a .py or .ipynb file in Execute Python
  • False "Cannot retrieve file name" warning message is no longer logged
  • (Bugfixes listed below apply if you use an Execute Python operator with Compatibility level above 9.3.1)
  • ExampleSets containing multiline text are now handled correctly
  • Special characters in attribute names, roles and nominal values are now handled correctly
  • Time zone in date types is now handled correctly
  • Boolean nominal values are no longer converted to "True" and "False"
  • Explicit errors are now thrown when rm_metadata settings are in conflict with the values in the dataframe
  • Empty nominal value remains an empty string and no longer becomes missing value