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