Using Nifi, I want to:
- run a Python script that exports a pandas dataframe
- send it e.g. through ExecuteStreamCommand to a variety of plug-and-play Python scripts that both input and output pandas dataframes, not knowing they are running via Nifi and which I cannot modify to use STDIN/STDOUT instead of pandas.
- pass the output dataframe on for further processing.
Is this possible? If so, how?
Put another way:
- First Script: flowfile -> pandas
- Many Scripts: do stuff with pandas
- Last Script: pandas -> flowfile