Exercise

# pandas vectorization in action

In this exercise, you will apply vectorization over pandas series to:

- calculate the mean rank of all the cards in each hand (row)
- calculate the mean rank of each of the 5 cards in each hand (column)

You will use the `poker_hands`

dataset once again to compare both methods' efficiency.

Instructions

**100 XP**

- Calculate the mean rank in each hand.
- Calculate the mean rank of each of the 5 card in all hands.