2025-08-21 15:16:25 +0000 UTC

Get the Size of a DataFrame

Code

import pandas as pd

def getDataframeSize(players: pd.DataFrame) -> List:
    return [players.shape[0], players.shape[1]]