docs: def toarray(self):
          """
          Convert blocks to local ndarray
          """
          if self.mode == 'spark':
              return self.values.unchunk().toarray()
  
          if self.mode == 'local':
              return self.values.unchunk()