class_docstr_tok: []
docstr: :param key_columns: optional, key identifying columns for grouping
      variables and bias metrics in intermediate joins. Defaults are
      'model_id', 'score_threshold', 'attribute_name'.
  :param input_group_metrics: List of absolute bias metrics to calculate
  :param fill_divbyzero: optional, fill value to use when divided by
      zero. Default is None.
docstr_tok: [":","param","key_columns",":","optional",",","key","identifying","columns","for","grouping","variables","and","bias","metrics","in","intermediate","joins",".","Defaults","are","'model_id","'",",","'score_threshold","'",",","'attribute_name","'",".",":","param","input_group_metrics",":","List","of","absolute","bias","metrics","to","calculate",":","param","fill_divbyzero",":","optional",",","fill","value","to","use","when","divided","by","zero",".","Default","is","None","."]
code: def __init__(
      self,
      key_columns=default_key_columns,
      sample_df=None,
      non_attr_cols=non_attr_cols,
      input_group_metrics=all_group_metrics,
      fill_divbyzero=None,
  ):
      """
  
      :param key_columns: optional, key identifying columns for grouping
          variables and bias metrics in intermediate joins. Defaults are
          'model_id', 'score_threshold', 'attribute_name'.
      :param input_group_metrics: List of absolute bias metrics to calculate
      :param fill_divbyzero: optional, fill value to use when divided by
          zero. Default is None.
      """
      self.key_columns = list(key_columns)
      self.input_group_metrics = list(input_group_metrics)
  
      if not fill_divbyzero:
          self.fill_divbyzero = 10.00000
      else:
          self.fill_divbyzero = fill_divbyzero
      self.non_attr_cols = non_attr_cols
      self.significance_cols = set(self.input_group_metrics).union(
          {"label_value", "score"}
      )
  
imports: import logging
  from aequitas.plotting import assemble_ref_groups
  import numpy
  import pandas
  from scipy import stats
label_desc: Use image node_id 1 to create a new Bias object from inherited base classes: object with example: obj = Bias(key_columns, sample_df, non_attr_cols, input_group_metrics, fill_divbyzero)