How to select the first element of an array in a dataframe column

Just in case someone has the same problem I had, see a couple of ways to resolve it: