I would test my function-catalog with python, using the script below :
python script :
import pandas as pd
names = ['Bob','Jessica','Mary','John','Mel']
birth = [968, 155, 77, 578, 973]
BabyDataSet = list(zip(names,birth))
df = pd.DataFrame(data = BabyDataSet, columns=['names', 'birth'])
df.to_csv('essai.csv',index=False,header=False)
when the log file shows error :
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'essai' is not defined
file knowageDataMiningEngine.log shows :
Caused by: it.eng.spagobi.utilities.engines.SpagoBIEngineRuntimeException: Python engine error
Technical details:
PythonOutputExecutor.java:
fileVarName1026081874.write(str(essai))
fileVarName1026081874.close()
EXECUTION FAILED
What could be the problem I found, grateful for any help..