DataFrame.ndim

DataFrame.ndim

Returns 2 by definition of a DataFrame

Returns

int

By definition 2

See Also

:pandas_api_docs:`pandas.DataFrame.ndim`