-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Expand file tree
/
Copy path__init__.py
More file actions
33 lines (25 loc) · 986 Bytes
/
__init__.py
File metadata and controls
33 lines (25 loc) · 986 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
"""Main module of ydata-profiling.
.. include:: ../../README.md
"""
# ignore numba warnings
import warnings # isort:skip # noqa
import importlib.util # isort:skip # noqa
from ydata_profiling.compare_reports import compare # isort:skip # noqa
from ydata_profiling.controller import pandas_decorator # isort:skip # noqa
from ydata_profiling.profile_report import ProfileReport # isort:skip # noqa
from ydata_profiling.version import __version__ # isort:skip # noqa
# backend
import ydata_profiling.model.pandas # isort:skip # noqa
spec = importlib.util.find_spec("pyspark")
if spec is not None:
import ydata_profiling.model.spark # isort:skip # noqa
spec_numba = importlib.util.find_spec("numba")
if spec_numba is not None:
from numba.core.errors import NumbaDeprecationWarning # isort:skip # noqa
warnings.simplefilter("ignore", category=NumbaDeprecationWarning)
__all__ = [
"pandas_decorator",
"ProfileReport",
"__version__",
"compare",
]