def __repr__(self):
        chunksize = str(tuple(c[0] for c in self.chunks))
        name = self.name if len(self.name) < 10 else self.name[:7] + '...'
        return ("dask.array<%s, shape=%s, dtype=%s, chunksize=%s>" %
                (name, self.shape, self._dtype, chunksize))
>>> import dask.array as da
dataset/ETHPy150Open dask/dask/dask/array/core.py/Array.__repr__