code: def transform(self, X):
      with warnings.catch_warnings():
          warnings.simplefilter(
              action="ignore", category=pd.errors.PerformanceWarning
          )
          ii = ~pd.isnull(X[self._old_column])
          x = X[self._old_column][ii]
          vect = self._vectorizer.transform(x)
  
          for f in self._new_columns:
              X[f] = 0.0
  
          X.loc[ii, self._new_columns] = vect.toarray()
          X.drop(self._old_column, axis=1, inplace=True)
      return X
  
file_path: mljar-supervised/supervised/preprocessing/text_transformer.py
imports: import datetime
  import json
  import warnings
  import numpy
  import pandas
  from sklearn.feature_extraction.text import TfidfVectorizer
label_desc: Use image node_id 3 for calling the TextTransformer obj's underlying member method code with example usage: obj.transform(X) and returns: X