Python 3.4 Remove duplicates and their corresponding values
问题 I'd like to remove duplicates as well as their corresponding, original values from a dataframe. Sframe is the name of my dataframe. The fields on which I want to check for duplicates are 'TermName', 'SchoolName', and 'StudentID'. Here's an example of what I'm starting with: TermName SchoolName StudentID 14-15 a 1 14-15 a 1 14-15 a 1 14-15 b 2 14-15 b 2 14-15 b 3 14-15 c 4 14-15 c 5 14-15 d 6 14-15 e 7 14-15 f 8 Here's what I'm looking for: TermName SchoolName StudentID 14-15 a 1 14-15 a 1 14