8.9. copro.evaluation.calc_correlation_matrix

copro.evaluation.calc_correlation_matrix(df, out_dir=None)[source]

Computes the correlation matrix for a dataframe. The dataframe should only contain numeric values.

Parameters
  • df (dataframe) – dataframe with analysed output per polygon.

  • out_dir (str) – path to output folder. If ‘None’, no output is stored. Default to ‘None’.

Returns

dataframe containig correlation matrix.

Return type

dataframe