numpy.ndarray inheretence