What is the purpose of using ndim attribute ?
(a) It returns the number of elements in the given data structure.
(b) It returns the Series object in the form of an ndarray.
(c) It returns a list of the indexes / labels.
(d) It returns the number of dimensions of the given data structure.