class_docstr_tok: []
docstr: View list of all calculated disparities in df
docstr_tok: ["View","list","of","all","calculated","disparities","in","df"]
code: def list_disparities(self, df):
      """
      View list of all calculated disparities in df
      """
      try:
          return list(df.columns[df.columns.str.contains("_disparity")])
      except KeyError:
          raise KeyError(
              "No disparity columns found in dataframe. Tip: "
              "make sure you have already passed the dataframe "
              "through a 'get_disparity_' method."
          )
  
file_path: aequitas/src/aequitas/bias.py
imports: import logging
  from aequitas.plotting import assemble_ref_groups
  import numpy
  import pandas
  from scipy import stats
label_desc: Use image node_id 11 for calling the Bias obj's underlying member method code with example usage: obj.list_disparities(df) and returns: list