2878. Get the Size of a DataFrame

Updated: 2024-03-12
1 min read
[]

On This Page

LeetCode problem 2878

import pandas as pd


def getDataframeSize(players: pd.DataFrame) -> List[int]:
    return list(players.shape)