Unique an Array based on one of the columns
Mostra commenti meno recenti
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 Commenti
Image Analyst
il 29 Apr 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
il 29 Apr 2023
Walter Roberson
il 29 Apr 2023
splitapply(@unique ) with the group determined by the email column (might need findgroups)
civil tech
il 29 Apr 2023
Spostato: Walter Roberson
il 29 Apr 2023
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Mathematics in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!