mie-lab / trackintel

trackintel is a framework for spatio-temporal analysis of movement trajectory and mobility data.
MIT License
206 stars 50 forks source link

BUG: radius_gyration raises a error if method="duration" and no duration column is provided #576

Closed hongyeehh closed 11 months ago

hongyeehh commented 12 months ago

As described in the title. As trackintel enforces started_at and finished_at columns as time objects, the default behavior shall be recalculating the duration column, similar to in other analysis functions (e.g., calculate_modal_split)