etna.analysis.get_correlation_matrix#
- get_correlation_matrix(ts: TSDataset, columns: List[str] | None = None, segments: List[str] | None = None, method: str = 'pearson') ndarray [source]#
Compute pairwise correlation of timeseries for selected segments.
- Parameters:
- Returns:
Correlation matrix
- Return type:
np.ndarray