Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There are faster libraries to make queries in a DataFrame #8

Open
dprada opened this issue Jun 25, 2020 · 2 comments
Open

There are faster libraries to make queries in a DataFrame #8

dprada opened this issue Jun 25, 2020 · 2 comments

Comments

@dprada
Copy link
Contributor

dprada commented Jun 25, 2020

There are faster libraries than Pandas. The concept of having the topology and the bonds as DataFrames is useful since we can, at any time, try other libraries such as Vaex, PySpark, Dask, ..., which seems to be more efficient than Pandas. We have to implement the fastest one doing queries in large systems. This is one of the strongest points of MolSysMT, the possibility to be the fastest library loading molecular systems and doing atoms selections (in small and very large systems); together with the fact that the topology is in a standard type of object used by many libraries.

@dprada
Copy link
Contributor Author

dprada commented Jun 25, 2020

Modin could be an easy implementation since its syntaxis is exactly the same as Pandas. Modin can be implemented in just one line.

@dprada
Copy link
Contributor Author

dprada commented Jun 25, 2020

Other options to be evaluated is working with SQL APIs like SQLite through Pandas. See: https://datacarpentry.org/python-ecology-lesson/09-working-with-sql/index.html or https://blog.thedataincubator.com/2018/05/sqlite-vs-pandas-performance-benchmarks/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant