duration# pymovements.events.properties.duration() → Expr[source]# Duration of an event. The duration is defined as the difference between offset time and onset time. Returns: The duration of the event. Return type: pl.Expr