One line solution
IntuitionWe needed only the number of rows and columns.ApproachSince we can access rows via .index and columns via .columns from pd dataframes, we apply len() f
# Intuition
<!-- Describe your first thoughts on how to solve this problem. -->
We needed only the number of rows and columns.

# Approach
<!-- Describe your approach to solving the problem. -->

Since we can access rows via .index and columns via .columns from pd dataframes, we apply len() function to see how many there are.
# Complexity
- Time complexity:
<!-- Add your time complexity here, e.g. $$O(n)$$ -->

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

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

def getDataframeSize(players: pd.DataFrame) -> List[int]:
    return [len(players.index),len(players.columns)]
```
['Pandas']