Returns an integer indicating how many dimensions of a multi-dimensional array the memory represents.
memoryview. ndim
None
#TODO
>>> m = memoryview('foo') >>> m.ndim 1L