Skip to main content

Hi there,

I am running a Python script which calculates the new attribute using Python caller. When I display/exposed the new attribute to output, I found that all values of the new attribute shown in each column of the newly added attribute. It should display a single value to each column of the newly added attribute. I have attached the snapshot of the newly added attribute and also the snapshot of the code that calculates the attribute. Waiting for your suggestion to fix the issue?

 

Output:

Code:

 

Don't use Python to do basic attribute manipulation. Use the power of FME.


Reply