docstr: Return a summary of the eigenvalues and their importance.
docstr_tok: ["Return","a","summary","of","the","eigenvalues","and","their","importance","."]
code: def eigenvalues_summary(self):
      """Return a summary of the eigenvalues and their importance."""
      summary = self._eigenvalues_summary
      summary["% of variance"] /= 100
      summary["% of variance (cumulative)"] /= 100
      summary["eigenvalue"] = summary["eigenvalue"].map(
          "{:,.3f}".format
      )
      summary["% of variance"] = summary["% of variance"].map(
          "{:.2%}".format
      )
      summary["% of variance (cumulative)"] = summary[
          "% of variance (cumulative)"
      ].map("{:.2%}".format)
      summary.index.name = "component"
      return summary
  
file_path: prince/prince/utils.py
imports: from __future__ import annotations
  import functools
  import altair
  import numpy
  import pandas
  from sklearn.utils import validation
label_desc: Use image node_id 4 for calling the EigenvaluesMixin obj's underlying member method code with example usage: obj.eigenvalues_summary() and returns: summary