shz9 / magenpy

Modeling and Analysis of (Statistical) Genetics data in python
https://shz9.github.io/magenpy/
MIT License
16 stars 5 forks source link

Package is slow to import #14

Open shz9 opened 4 months ago

shz9 commented 4 months ago

At the moment, the package takes several seconds at least to be imported. This is likely because we're importing very heavy dependencies at the top of some of the modules, including scipy, pandas, and numpy, matplotlib, etc. It would be good to refactor the import statements to reduce the time to load the main modules.