Can you help me to solve this in ArcPy? I want to concatenate 16 fields, but just when they are unique. You can view the example at the table below. I am using ArcGIS 10.2.
I tryed this code
fc="...\IFN6_COS2010PT_Val_FPC_2_Final"
fields_FPC_2 = ["IFNA_FPC_2", "IFNB_FPC_2","IFNC_FPC_2", "IFND_FPC_2","IFNE_FPC_2", "IFNF_FPC_2","IFNG_FPC_2", "IFNH_FPC_2","IFNI_FPC_2", "IFNJ_FPC_2","IFNL_FPC_2", "IFNM_FPC_2","IFNN_FPC_2", "IFNO_FPC_2","IFNP_FPC_2", "IFNQ_FPC_2"]
values = [row for row in arcpy.da.searchCursor(fc, (fields_FPC_2))]
uniquevalues=set(values)
أكثر...
I tryed this code
fc="...\IFN6_COS2010PT_Val_FPC_2_Final"
fields_FPC_2 = ["IFNA_FPC_2", "IFNB_FPC_2","IFNC_FPC_2", "IFND_FPC_2","IFNE_FPC_2", "IFNF_FPC_2","IFNG_FPC_2", "IFNH_FPC_2","IFNI_FPC_2", "IFNJ_FPC_2","IFNL_FPC_2", "IFNM_FPC_2","IFNN_FPC_2", "IFNO_FPC_2","IFNP_FPC_2", "IFNQ_FPC_2"]
values = [row for row in arcpy.da.searchCursor(fc, (fields_FPC_2))]
uniquevalues=set(values)

أكثر...