Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/pandas/core/computation/check.py: 88%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

8 statements  

1from __future__ import annotations 

2 

3from pandas.compat._optional import import_optional_dependency 

4 

5ne = import_optional_dependency("numexpr", errors="warn") 

6NUMEXPR_INSTALLED = ne is not None 

7if NUMEXPR_INSTALLED: 

8 NUMEXPR_VERSION = ne.__version__ 

9else: 

10 NUMEXPR_VERSION = None 

11 

12__all__ = ["NUMEXPR_INSTALLED", "NUMEXPR_VERSION"]