I have a dataframe with two columns (f1 and f2). You can create a sample dataframe using:
d = pd.DataFrame(list(zip([20,183,19,45,9173,11,482],[771,8773,91,8