code: def reduce(self):
      data = self._data
      if self._do_standardize:
          data = scale(self._data, axis=0)
      pca_model = PCA(n_components=self._ndims)
      reduced_data = pca_model.fit_transform(data)
      return reduced_data
  
imports: from sklearn.decomposition import PCA
  from sklearn.preprocessing import scale
  from dowhy.data_transformer import DimensionalityReducer
label_desc: Use image node_id 2 for calling the PCAReducer obj's underlying member method code with example usage: obj.reduce() and returns: reduced_data