It is a serious function. If you want to see how you could use this feature I have compiled a small example how to use Jupyter notebook (ressources) in KNIME and also how to include existing .PY files in KNIME.
And you can create and use flow variables in Python:
Also if you have problems bringing data from and to Python you could use Parquet or ORC files.