Remove duplicate rows in CSV file
Show older comments
hello dear mathworkers,
I have a dataset consist of approximatlly 4 millions records, and i want to remove the duplicated rows or records, can any one help me with the way, i am using matlab 2018a . thanks in advance
7 Comments
madhan ravi
on 23 Jul 2019
Upload a sample file.
Alex Mcaulley
on 23 Jul 2019
mohammad Alsajri
on 23 Jul 2019
Edited: mohammad Alsajri
on 23 Jul 2019
Shameer Parmar
on 23 Jul 2019
@Mohammad Alsajri: You mentioned that the rows are duplicated, but in you sample sheet, I tried searching for duplicated data, but I could not find duplicated data..
For example, if I filtered the data for value '215' (at column E), still I dont see the duplicated value at other columns like column 'W' and 'X'..

So let us know.. what is mean by duplicate entries and how to consider it..
mohammad Alsajri
on 24 Jul 2019
madhan ravi
on 24 Jul 2019
Mohammed: Alex's solution should have solved your problem.
mohammad Alsajri
on 25 Jul 2019
Accepted Answer
More Answers (0)
Categories
Find more on Web Services in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!