Lesson 11.4 · Pro

Correlation

Measure how strongly two columns move together, with corr().

In this lesson

  1. corr(y, x)
  2. Per group
  3. Summarise first, then correlate