code: def to_df(self):
      """Conversion to Pandas DataFrame specific to Regional Sensitivity Analysis results.
  
      Overrides the conversion method attached to the SALib problem spec.
  
      Returns
      -------
      Pandas DataFrame
      """
      names = self["names"]
  
      # Only convert these elements in dict to DF
      new_spec = {
          k: v
          for k, v in self.items()
          if k not in ["names", "bins", "target"]
      }
  
      return pd.DataFrame(new_spec, columns=names, index=self["bins"])
  
file_path: SALib/src/SALib/analyze/rsa.py
imports: from typing import Dict
  from types import MethodType
  import warnings
  import numpy
  import pandas
  from scipy.stats import cramervonmises_2samp
  from .None import common_args
  from ..util import read_param_file, ResultDict, extract_group_names, _check_groups
label_desc: Use image node_id 4 for calling a global function with example usage: to_df() and returns: pd