Python Solution
IntuitionUse the built-in PandasApproachUse the df.shape function and return the result as a listComplexity
Time complexity:
O(n) to iterate through the list
Sp
# Intuition
<!-- Describe your first thoughts on how to solve this problem. -->
Use the built-in Pandas 

# Approach
<!-- Describe your approach to solving the problem. -->
Use the df.shape function and return the result as a list

# Complexity
- Time complexity:
<!-- Add your time complexity here, e.g. $$O(n)$$ -->
O(n) to iterate through the list

- Space complexity:
<!-- Add your space complexity here, e.g. $$O(n)$$ -->
O(1) for for the list created

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

def getDataframeSize(players: pd.DataFrame) -> List[int]:
    
    result = list(players.shape)

    return result
```
['Pandas']