Hi I have to execute below python code in apache nifi and my nifi flow is as below my python code is as below (I have ruined it locally it is working fine) `
import pandas as pd
cdr = pd.read_csv("cdr.csv")
labels = pd.read_csv("result.csv")
cdr.rename(mapper={str(value[0]):n for n,value in labels.to_dict(orient='list').items()}, axis=1, inplace=True)
Here cdr comes from GETSFTP and labels comes from get file processor and here cdr data will come continuously
can anyone help me to write above python code in ExecuteScript processor in nifi