Basically I am tyring to iterate over rows in a pandas data frame. This data frame was automatically created in Knime through a python script node.
The name of the data frame is “input_table”.
The dataframe has three columns: Location, URL and Document.
I am gettin this error: TypeError: ‘DataFrame’ object is not callable, when I am trying to loop over rows.
I already looked for similiar problems, but none of the solutions worked for me. This is the code I am using, since the data frame was created automatically.
for index, row in input_table(): print(row["Document"])