I'm working with a point dataset that contains, sometimes, (almost) repeated features:
data_id year event_type assoc_actor_1
5270361 2000 Riots Madinka Ethnic Group
5270361 2000 Riots Balanta Ethnic Group
As they share the same id, I'm looking for a way to select just one of those redundant features (any of them). It can be via expression builder or python.
I've seen that set(list) does the trick, but how can I integrate that in selectByExpression()?
In the expression builder, count_distinct() identifies unique id, but how could I use it to select features?
In Getting list of distinct values from shapefile field using QGIS? the user is looking to retrieve a text file with the results. I wanna do it... graphically (?).
