I have a list with elements (sometimes letters, sometimes coordinates). I want to list the index of the duplicate elements. The “sort duplicate values” component does not work for this case because I need to retrieve the duplicate element index or null for each element in the same order that the original list is.
In other words, I would like the list to look like the attached image (null values are important to me).
I think it could be solved with a ghpyton script, but I’m starting to learn it.