code: def transform(self, blocks, y=None):
          
          return self.scaler.transform(self.feature.transform(blocks))
docs: Transform an ordered sequence of blocks into a 2D features matrix with
          shape (num blocks, num features) and standardized feature values.
  
          Args:
              blocks (List[Block]): as output by :class:`Blockifier.blockify`
              y (None): This isn't used, it's only here for API consistency.
  
          Returns:
              `np.ndarray`: 2D array of shape (num blocks, num sub-features),
                  where ``blocks`` data has been transformed by ``self.feature``
                  and optionally standardized by ``self.scaler``.