pymaid.CatmaidNeuronList.remove_duplicates¶
- CatmaidNeuronList.remove_duplicates(key='skeleton_id', inplace=False)[source]¶
Remove duplicate neurons from list.
- Parameters:
key (str | list, optional) – Attribute(s) by which to identify duplicates. In case of multiple, all attributes must match to flag a neuron as duplicate.
inplace (bool, optional) – If False will return a copy of the original with duplicates removed.