An possibly easy/faster solution?

Step 14 and 15 in the mission proposes to use df.apply() element-wise function together with some string manipulation. I have reached the same result with vector methods:

data['hs_directory'] = pd.concat([data['hs_directory'], data['hs_directory']['Location 1'].str.extract(r'\((?P<lat>[^,]+), (?P<lon>.+)\)')],axis=1)

What is wrong with my solution? Why it is proposed to use apply and string manipulation? Or it is just an alternative way?