class_docstr: A data analyzer suite that allows users to add multiple data analyzers and analyze specified according to data type
class_docstr_tok: ["A","data","analyzer","suite","that","allows","users","to","add","multiple","data","analyzers","and","analyze","specified","according","to","data","type"]
docstr: Feed one sample into the analyzer suite to aggregate stats according to data type attribute
  
  Args:
      sample: json object
      label: class label associated to the sample, default is None when no label provided
docstr_tok: ["Feed","one","sample","into","the","analyzer","suite","to","aggregate","stats","according","to","data","type","attribute","Args",":","sample",":","json","object","label",":","class","label","associated","to","the","sample",",","default","is","None","when","no","label","provided"]
code: def feed_row(self, sample: Union[Dict, List], label: Optional = None):
      """
      Feed one sample into the analyzer suite to aggregate stats according to data type attribute
  
      Args:
          sample: json object
          label: class label associated to the sample, default is None when no label provided
      """
      if type(sample) == list and len(sample) != len(self.analyzers):
          raise InconsistentSize(
              "sample", "label", len(sample), len(self.analyzers)
          )
      for attribute_name, analyzer in self.analyzers.items():
          if attribute_name not in sample:
              raise AttributeNotFound(attribute_name, sample)
          analyzer.feed(value=sample[attribute_name], label=label)
  
file_path: contextual-ai/xai/data/explorer/data_analyzer_suite.py
imports: from typing import Optional, Dict, Union, List
  from xai.data.abstract_stats import AbstractStats
  from xai.data.constants import DATATYPE
  from xai.data.exceptions import AttributeNotFound, InconsistentSize, AnalyzerDataTypeNotSupported
  from xai.data.exceptions import InvalidTypeError
  from xai.data.explorer.categorical.labelled_categorical_analyzer import LabelledCategoricalDataAnalyzer
  from xai.data.explorer.datetime.labelled_datetime_analyzer import LabelledDatetimeDataAnalyzer
  from xai.data.explorer.numerical.labelled_numerical_analyzer import LabelledNumericalDataAnalyzer
  from xai.data.explorer.sequence_analyzer import SequenceAnalyzer
  from xai.data.explorer.text.labelled_text_analyzer import LabelledTextDataAnalyzer
label_desc: Use image node_id 2 for calling the DataAnalyzerSuite obj's underlying member method code with example usage: obj.feed_row(sample, label) without return types