Easy Explanation for Beginners ✨
Intuitionshape is an attribute in pandas that returns a tuple (m,n).
where m is number of rows and n is number of columns.but the question asks us to return a l
# Intuition
<!-- Describe your first thoughts on how to solve this problem. -->
**shape** is an attribute in pandas that returns a **tuple (m,n)**.
where **m** is number of rows and **n** is number of columns.

but the question asks us to return a list therefore we use **list()**.
we return a list in this way by making use of inbuilt python method.

# Code
```pythondata []
import pandas as pd

def getDataframeSize(players: pd.DataFrame) -> List[int]:
    return list(players.shape)
```
['Pandas']