def astype(self, dtype, **kwargs):
        if dtype == self._dtype:
            return self
        name = tokenize('astype', self, dtype, kwargs)
        return elemwise(lambda x: x.astype(dtype, **kwargs), self,
                        dtype=dtype, name=name)
Post hdf5 data with incorrect datatype
dataset/ETHPy150Open dask/dask/dask/array/core.py/Array.astype--crossover with--dataset/ETHPy150Open neurodata/ndstore/test/test_probability.py/Test_Probability_Post.test_hdf5_incorrect_datatype