2025-08-21 18:16:25 +0300 MSK

Get the Size of a DataFrame

Code

import pandas as pd

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