code: def from_json(self, data_json):
      self._new_columns = data_json.get("new_columns", None)
      self._old_column = data_json.get("old_column", None)
      vocabulary = data_json.get("vocabulary")
      fixed_vocabulary = data_json.get("fixed_vocabulary")
      idf = data_json.get("idf")
      if (
          vocabulary is not None
          and fixed_vocabulary is not None
          and idf is not None
      ):
          self._vectorizer = TfidfVectorizer(
              analyzer="word",
              stop_words="english",
              lowercase=True,
              max_features=self._max_features,
          )
          self._vectorizer.vocabulary_ = vocabulary
          self._vectorizer.fixed_vocabulary_ = fixed_vocabulary
          self._vectorizer.idf_ = idf
  
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 5 for calling the TextTransformer obj's underlying member method code with example usage: obj.from_json(data_json) without return types