1
$\begingroup$

How can you remove duplicated items from a list of vectors, leaving only one of each item?

$\endgroup$
  • $\begingroup$ Try List -> List Boolean Operations $\endgroup$ – Serge L Aug 9 at 8:25
2
$\begingroup$

You can use this expression: [i for n, i in enumerate(x) if i not in x[:n]]

enter image description here

| improve this answer | |
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.