DataFrame.ndim
Return an integer representing the number of dimensions. Returns 1 if Series. Otherwise return 2 for DataFrame.
Last updated
Was this helpful?
Return an integer representing the number of dimensions. Returns 1 if Series. Otherwise return 2 for DataFrame.
Last updated
Was this helpful?