Find minimum in a column of attribute table using python on Field Calculator

المشرف العام

Administrator
طاقم الإدارة
I have a column X in attribute table where the values are repeated in some lines. What I need is to make a condition that says: when the values in column X are the same, find the minimum of column Y and write it in a new column.

My attribute table is something like this:



My knowledge in python is very limited, I'm trying some code but only got errors. My problem is how to run column X as an array? Like: if x=x+1



أكثر...
 
أعلى