code: def _compute(self, predictions, references, return_pvalue=False):
      if return_pvalue:
          results = pearsonr(references, predictions)
          return {"pearsonr": results[0], "p-value": results[1]}
      else:
          return {
              "pearsonr": float(pearsonr(references, predictions)[0])
          }
  
imports: import datasets
  from scipy.stats import pearsonr
  import evaluate
label_desc: Use image node_id 2 for calling the Pearsonr obj's underlying member method code with example usage: obj._compute(predictions, references, return_pvalue) and returns: dict, dict