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

See the Read This Before Posting thread, especially the last paragraph. For tutorials, the Python wiki has links

Jump to Post

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 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.