79207494

Date: 2024-11-20 13:55:08
Score: 0.5
Natty:
Report link

duckdb:

(
 df1.sql.select("*,date_trunc('second',event_timestamp::datetime) event_timestamp2")
 .select("*,avg(value) over(partition by event_timestamp2 rows between current row and unbounded following) col1")
)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: G.G