How to get ride of duplicate rows?

1 view (last 30 days)
How do I see how many duplicate rows there are in the bank-marketing dataset?
and how do I get rid of them?
Thank you!

Accepted Answer

Steven Lord
Steven Lord on 6 Nov 2020
Use unique with the 'rows' option or uniquetol with the 'ByRows', true name-value pair.
Steven Lord
Steven Lord on 7 Nov 2020
If the information I've given you resolves your question, please mark the answer Accepted so we know that it has been answered sufficiently well. Thanks.

Sign in to comment.

More Answers (0)


Find more on Resizing and Reshaping Matrices 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!