openPMD / openPMD-api

:floppy_disk: C++ & Python API for Scientific I/O
https://openpmd-api.readthedocs.io
GNU Lesser General Public License v3.0
134 stars 51 forks source link

Use lazy imports for dask and pandas #1442

Closed dpgrote closed 1 year ago

dpgrote commented 1 year ago

Lazy imports are done to speed up the import of the module when dask and pandas are not needed. In those cases, this will speed up the import of openpmd-api.