Most easiest way
\n\n# Code\n\nimport pandas as pd\n\ndef getDataframeSize(players: pd.DataFrame) -> List[int]:\n    row = len(players.axes[0])\n    col = len(players.axes[1])\n
\n\n# Code\n```\nimport pandas as pd\n\ndef getDataframeSize(players: pd.DataFrame) -> List[int]:\n    row = len(players.axes[0])\n    col = len(players.axes[1])\n    return [row, col]\n\n```
['Pandas']