Skip to content

Instantly share code, notes, and snippets.

View aylmerbritto's full-sized avatar

Aylmer Britto aylmerbritto

View GitHub Profile
@aylmerbritto
aylmerbritto / tShirtGoogleFormManagement.py
Created August 15, 2020 11:34
So in yknot we took this initiative of distributing T-shirts to our college peeps. We collected information of people who were interested in the beginning to choose their affordable price range, colour and sizes. And in the second information we collected their payment details. At the end of the day we had to spend a lot of time to manually pic…
import pandas as pd
def findDuplicates(df,key):
duplicates = df[df.duplicated([key], keep=False)]
print(duplicates)
return duplicates
def notPaidList(wholeSheet,paidSheet, Key):
#print("=================================")
whSheetMerged= wholeSheet.merge(paidSheet, on=Key, how="left", indicator=True)