Unique an Array based on one of the columns
Afficher commentaires plus anciens
I have a table bellow with more than 1000 rows:
The table has six columns. I want to remove the repeated rows with consideration of "Email" column. In another hand, if ithe eamil presents in one row is the same as the email presents in another row, just keep one of these repeated rows (I prefer to keep the last row). How can I do this?
4 commentaires
Image Analyst
le 29 Avr 2023
That's not the attachment we need. We need a .mat file with your variable inside it.
If you have any more questions, then attach your data and code to read it in with the paperclip icon after you read this:
civil tech
le 29 Avr 2023
Walter Roberson
le 29 Avr 2023
splitapply(@unique ) with the group determined by the email column (might need findgroups)
civil tech
le 29 Avr 2023
Déplacé(e) : Walter Roberson
le 29 Avr 2023
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Mathematics dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!