I have defined "pd" in Python Source node and connected it to Python Script. But I get an error as name "pd" being not defined. How can it be recognized?
two Python nodes do not share the same process, which is why you can not simply access the variables defined in one node in the code of another. Pandas dataframes can be assigned to the output port of the node, by assigning them to the variable output_table (as written in the Ports documentation of the node). Similar to this you can access the data at the input port under the name input_table.
How should I then arrange/place nodes, so that there is continuity? I want nodes to perform their alloted function and pass the work to next node. Can this be possible with Python nodes?