code: def eigenvalues(df):
      '''
      Returns a pandas Series with eigenvalues of the correlation matrix.
  
      Args:
          df: pandas DataFrame with columns to run diagnostics on
      '''
      corr = np.corrcoef(df, rowvar=0)
      eigvals = np.linalg.eigvals(corr)
      return pd.Series(eigvals, df.columns, name='Eigenvalue'f eigenvalues(df):
      '''
      Returns a pandas Series with eigenvalues of the correlation matrix.
  
      Args:
          df: pandas DataFrame with columns to run diagnostics on
      '''
      corr = np.corrcoef(df, rowvar=0)
      eigvals = np.linalg.eigvals(corr)
      return pd.Series(eigvals, df.columns, name='Eigenvalue')
docs: Returns a pandas Series with eigenvalues of the correlation matrix.
  
      Args:
          df: pandas DataFrame with columns to run diagnostics on