Inzynierka/Lib/site-packages/pandas/core/computation/check.py

13 lines
337 B
Python
Raw Permalink Normal View History

2023-06-02 12:51:02 +02:00
from __future__ import annotations
from pandas.compat._optional import import_optional_dependency
ne = import_optional_dependency("numexpr", errors="warn")
NUMEXPR_INSTALLED = ne is not None
if NUMEXPR_INSTALLED:
NUMEXPR_VERSION = ne.__version__
else:
NUMEXPR_VERSION = None
__all__ = ["NUMEXPR_INSTALLED", "NUMEXPR_VERSION"]