i would like to get only few columns data from datatable, i have passed the datatable to python 3 script and developed the code to get required fields, but i am getting error to while running it.
Error:
File "", line 1
Datatable = 1415140, , SDMT Automations Test Exp JD, Open, Americas (0001)
^
SyntaxError: invalid syntax
My Code:
Datatable = %Var_ExcelData%
new_TD = []
for row in Datatable:
new_row = { 'Job Req ID': row['Job Req ID'], 'Status' = row['Status']}
new_TD.append(new_row)
print(new_TD)