When I was originally learning pandas, if I was filtering I\'d use the .loc method. I\'ve been told this is incorrect. Given the following dataframe:
data = {