Purpose of AWS Glue and AWS Athena?

I did not get why we used AWS Glue and AWS Athena. Importing a dataframe and explore it with pandas would have given the same results in 5 times less code…

What would be the reason not to do data wrangling with pandas ?

Its probably so the learner can learn about the AWS services as the specialization is about.

I am not sure the objective is met because I still don’t understand what the purpose of AWS Glue and Athena…

Its true that those two services are only briefly mentioned and unless you know what you are looking it may be hard to understand what they can offer.
However, there is good documentation that can answer your questions (if you still have them)