class_docstr: Defines the top-level RAITextInsights API.
  
  Use RAITextInsights to assess text machine learning models in a
  single API.
class_docstr_tok: ["Defines","the","top-level","RAITextInsights","API",".","Use","RAITextInsights","to","assess","text","machine","learning","models","in","a","single","API","."]
docstr: Load the extracted features data.
  
  :param inst: RAITextInsights object instance.
  :type inst: RAITextInsights
  :param path: The directory path to extracted data location.
  :type path: str
docstr_tok: ["Load","the","extracted","features","data",".",":","param","inst",":","RAITextInsights","object","instance",".",":","type","inst",":","RAITextInsights",":","param","path",":","The","directory","path","to","extracted","data","location",".",":","type","path",":","str"]
code: def _load_ext_data(inst, path):
      """Load the extracted features data.
  
      :param inst: RAITextInsights object instance.
      :type inst: RAITextInsights
      :param path: The directory path to extracted data location.
      :type path: str
      """
      top_dir = Path(path)
      data_path = top_dir / SerializationAttributes.DATA_DIRECTORY
      json_test_path = data_path / (_EXT_TEST + _JSON_EXTENSION)
      with open(json_test_path, "r") as file:
          inst._ext_test = json.loads(file.read())
      json_features_path = data_path / (_EXT_FEATURES + _JSON_EXTENSION)
      with open(json_features_path, "r") as file:
          inst._ext_features = json.loads(file.read())
      inst._ext_test_df = pd.DataFrame(
          inst._ext_test, columns=inst._ext_features
      )
      target_column = inst.target_column
      test = inst.test
      inst._ext_test_df[target_column] = test[target_column]
  
imports: import json
  import logging
  import pickle
  import warnings
  from enum import Enum
  from pathlib import Path
  from typing import Any, List, Optional, Union
  import numpy
  import pandas
  from ml_wrappers import wrap_model
  from erroranalysis._internal.cohort_filter import FilterDataWithCohortFilters
  from raiutils.data_processing import convert_to_list, serialize_json_safe
  from raiutils.models import SKLearn, is_classifier
  from responsibleai._interfaces import Dataset, RAIInsightsData
  from responsibleai._internal.constants import ManagerNames, Metadata, SerializationAttributes
  from responsibleai.exceptions import UserConfigValidationException
  from responsibleai.feature_metadata import FeatureMetadata
  from responsibleai.rai_insights.rai_base_insights import RAIBaseInsights
  from responsibleai_text.common.constants import ModelTask
  from responsibleai_text.managers.error_analysis_manager import ErrorAnalysisManager
  from responsibleai_text.managers.explainer_manager import ExplainerManager
  from responsibleai_text.utils.feature_extractors import extract_features, get_text_columns
label_desc: Use image node_id 21 for calling the RAITextInsights obj's underlying member method code with example usage: obj._load_ext_data(inst, path) without return types