Coming soon: We’re working on a brand new, revamped Community experience. Want to receive updates? Sign up now!

0 votes


Unlike a Python recipe which can use a custom code env with external Python modules, it is not possible to do it from a Python UDF in a preparation recipe.
This is documented in
> "Python UDF can only use a subset of the packages in the base Python installation and cannot use any other package"

I understand that Python UDF is executed with Jython 2.7 and :
- to me it is possible to call an external Python module with Jython as long as the module is compatible with 2.7
- and by the way in the DSS 5.1.2, the Jython version is obsolete 2.7b4, when the 2.7.0 is available

I may be missing some stuff but it would be cool to improve this essential Python UDF function :)

Best regards.



reopened by

1 Answer

0 votes
Best answer
Thanks for pointing this out, you'll be happy to learn that this is on our roadmap and we that we are actively working on it!
selected by
great !
DSS Version 6, released December 2019, bring native python for preparation. The Python processor in data preparation can now use a real Python process, which allows usage of Python 3 and of any additional package through the usage of the DSS code environments feature.

The Python processor now supports vectorized operation using Pandas for fast operation.
1,339 questions
1,365 answers
11,916 users

©Dataiku 2012-2018 - Privacy Policy