+7
-4
lines changedFilter options
+7
-4
lines changed Original file line number Diff line number Diff line change
@@ -39,6 +39,9 @@
39
39
"unicode": [
40
40
"tangled-up-in-unicode==0.2.0",
41
41
],
42
+
"numba": [
43
+
"numba>=0.56.0, <1",
44
+
]
42
45
},
43
46
package_data={
44
47
"ydata_profiling": ["py.typed"],
Original file line number Diff line number Diff line change
@@ -2,12 +2,8 @@
2
2
3
3
.. include:: ../../README.md
4
4
"""
5
-
6
5
# ignore numba warnings
7
6
import warnings # isort:skip # noqa
8
-
from numba.core.errors import NumbaDeprecationWarning # isort:skip # noqa
9
-
10
-
warnings.simplefilter("ignore", category=NumbaDeprecationWarning)
11
7
12
8
import importlib.util # isort:skip # noqa
13
9
@@ -23,6 +19,10 @@
23
19
if spec is not None:
24
20
import ydata_profiling.model.spark # isort:skip # noqa
25
21
22
+
spec_numba = importlib.util.find_spec("numba")
23
+
if spec_numba is not None:
24
+
from numba.core.errors import NumbaDeprecationWarning # isort:skip # noqa
25
+
warnings.simplefilter("ignore", category=NumbaDeprecationWarning)
26
26
27
27
__all__ = [
28
28
"pandas_decorator",
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4