Fast & Memory efficient way to get the shape in list format
Code
# Code
```pythondata []
import pandas as pd

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