Using numpy.ndarray.ndim(arr) directly get the number of dimensions
No, without importing a module you can't use anything defined in that module.
Can i directly use the command numpy.ndarray.ndim(arr) to get the no. of dimensions for an array ?? without importing numpy. Is it possible ??