Easy solution by using df.shape
Intuition\nWe can use any function to count up the number of rows and columns \n\n# Approach\nuse the dataframe object and apply the shape method to get the siz
# Intuition\nWe can use any function to count up the number of rows and columns \n\n# Approach\nuse the dataframe object and apply the shape method to get the size of the df\n\n# Complexity\n- Time complexity:\no(1)\n\n- Space complexity:\no(1)\n\n# Code\n```pythondata []\nimport pandas as pd\n\ndef getDataframeSize(players: pd.DataFrame) -> List[int]:\n    [num_rows,num_col] = players.shape \n    return [num_rows , num_col]\n```
['Pandas']