I try to use ExecuteStreamCommand processor in Apache Nifi in order to execute a simple Python Script.
Here is the python script:
import pandas as pd
import sys
file = pd.read_json(sys.stdin)
file.to_json(sys.stdout)
Here is the processor configuration:

I don't know where I am wrong.

python, and argument - path to py file.