Python newbie here- I am comfortable with pandas (however, I know next to nothing when it comes to arrays).
I have a dataframe df with four columns namely:
df