code: def set_correlation_type(
      self, correlation_type: str = "pearsonr"
  ) -> "Correlations":
      assert correlation_type in ["pearsonr", "spearmanr", "kendalltau"]
      self.correlation_type_ = correlation_type
      self.cols_ = [
          Correlations.get_notation_name(
              correlation_type=correlation_type
          ),
          "p",
      ]
      return self
  
file_path: scattertext/scattertext/continuous/correlations.py
imports: import numpy
  import pandas
  from scattertext.TermDocMatrix import TermDocMatrix
  from scipy.stats import pearsonr, spearmanr, kendalltau
  from scattertext.continuous.coefficientbase import CoefficientBase
label_desc: Use image node_id 2 for calling the Correlations obj's underlying member method code with example usage: obj.set_correlation_type(correlation_type) and returns: self