You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fix#112
drop cols containing None before grouping. Speeds the function up: ~x5
when called as `fp.to_dataframe(return_atoms=True, drop_empty=True)`
---------
Co-authored-by: Cédric Bouysset <[email protected]>
Hi,
I have 25k frames that I analyzed and it took ~5min to get the full atomid DataFrame with my selections.
I traced it down to the grouping including the "empty" columns.
If we remove them before grouping it gets much faster.
1000 frames: 10s -> ~2s
25k frames: ~300s -> 60s
Though its a factor of 5 faster now.
I will open a PR with my optimization.
Kind regards
René
The text was updated successfully, but these errors were encountered: