79217620

Date: 2024-11-23 10:30:10
Score: 2
Natty:
Report link

Use rowNumber or denseRank to create a sequential row number for ordering your time series. Use lag or lead functions to compare the current row with the previous row. Filter rows where the current value is different from the previous one (i.e., removing consecutive duplicates).

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: ROUNAK SHRIVASTAV