Hi I have a CSV file with column headings as [Serial Number,Reader Name,Book name,Author,Publisher]
I want

1)To filter all books with Book name :'Aristotle'
2)to remove duplicates in books with same author name ie.Different Publishers
3)To take a sample of 30 books for Each Reader and copy it to a new csv file with column headings [Reader Name,Book NAME ,Author]

Plz help me :)

Recommended Answers

All 2 Replies

Atleast the code to filter the colum from csv file ,since im novice to python,plz help .

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.