beginner-friendly! 😊🚀
Approachshape attribute gives us Number of rows and Number of columns in tuple format.Example:(10,5)By using typecasting technique I convert tuple to list by us
# Approach
shape attribute gives us Number of rows and Number of columns in tuple format.

Example:(10,5)

        Here 10 denotes Number of rows in DataFrame
        Here 5 denotes Number of Number of columns

By using typecasting technique I convert tuple to list by using list() function.

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

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