Re: [Chennaipy] Finding duplicates of row in csv

2018-02-12 Thread Rajagopal Jagannathan
You can do this in multiple ways. in Shell script sort | uniq -c If you have to use Python, then the faster way to do it would be to load the csv into a Pandas dataframe, which should allow you to use dataframe.duplicated() If you don't want to use pandas then you can loop through the csv and

[Chennaipy] Finding duplicates of row in csv

2018-02-10 Thread Saravanan Muthu
Hello All, I have a csv with multiple column , and I need to figure out the duplicates entry ,I have imported csv and assigned the row to dictionary ,please share a logic to find the duplicates , sample data is below , Name age employer Kumar 28 133678 Kumar 28 133678 Anil. 42. 133567 Kuma