datacamp-logo

Knowledge check: lags

When you have mixed data in long format and are generating lags with shift(), why is it important to use a by clause?

Answer the question
50 XP
Possible Answers
  • press
  • press
  • press
  • press