You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File c:\Users\Client\anaconda3\Lib\site-packages\visions\backends\pandas\types\complex.py:7
5 from visions.backends.pandas.series_utils import series_not_empty, series_not_sparse
6 from visions.backends.pandas.types.float import string_is_float
----> 7 from visions.backends.shared.parallelization_engines import pandas_apply
8 from visions.types.complex import Complex
9 from visions.types.string import String
File c:\Users\Client\anaconda3\Lib\site-packages\visions\backends\shared_init_.py:1
----> 1 from . import nan_handling, parallelization_engines, utilities
File c:\Users\Client\anaconda3\Lib\site-packages\visions\backends\shared\nan_handling.py:34
30 # TODO: There are optimizations here, just have to define precisely the desired missing ruleset in the
31 # generated jit
32 if has_numba:
---> 34 @nb.generated_jit(nopython=True)
35 def is_missing(x):
36 """
37 Return True if the value is missing, False otherwise.
38 """
39 if isinstance(x, nb.types.Float):
AttributeError: module 'numba' has no attribute 'generated_jit'
Current Behaviour
AttributeError Traceback (most recent call last)
Cell In[34], line 24
22 get_ipython().system('pip install numba==0.58.1')
23 import numba as nb
---> 24 import pandas_profiling # library for automatic EDA
27 from scipy import stats # statistical library
28 from statsmodels.stats.weightstats import ztest # statistical function for hypothesis testing
File c:\Users\Client\anaconda3\Lib\site-packages\pandas_profiling_init_.py:6
1 """Main module of pandas-profiling.
2
3 .. include:: ../../README.md
4 """
----> 6 from pandas_profiling.controller import pandas_decorator
7 from pandas_profiling.profile_report import ProfileReport
8 from pandas_profiling.version import version
File c:\Users\Client\anaconda3\Lib\site-packages\pandas_profiling\controller\pandas_decorator.py:4
1 """This file add the decorator on the DataFrame object."""
2 from pandas import DataFrame
----> 4 from pandas_profiling.profile_report import ProfileReport
7 def profile_report(df: DataFrame, **kwargs) -> ProfileReport:
8 """Profile a DataFrame.
9
10 Args:
(...)
15 A ProfileReport of the DataFrame.
16 """
File c:\Users\Client\anaconda3\Lib\site-packages\pandas_profiling\profile_report.py:11
9 import yaml
10 from tqdm.auto import tqdm
---> 11 from visions import VisionsTypeset
13 from pandas_profiling.config import Config, Settings
14 from pandas_profiling.expectations_report import ExpectationsReport
File c:\Users\Client\anaconda3\Lib\site-packages\visions_init_.py:4
1 """Core functionality"""
3 from visions import types, typesets, utils
----> 4 from visions.backends import *
5 from visions.declarative import create_type
6 from visions.functional import (
7 cast_to_detected,
8 cast_to_inferred,
9 detect_type,
10 infer_type,
11 )
File c:\Users\Client\anaconda3\Lib\site-packages\visions\backends_init_.py:9
6 try:
7 import pandas as pd
----> 9 import visions.backends.pandas
10 from visions.backends.pandas.test_utils import pandas_version
12 if pandas_version[0] < 1:
File c:\Users\Client\anaconda3\Lib\site-packages\visions\backends\pandas_init_.py:2
1 import visions.backends.pandas.traversal
----> 2 import visions.backends.pandas.types
File c:\Users\Client\anaconda3\Lib\site-packages\visions\backends\pandas\types_init_.py:3
1 import visions.backends.pandas.types.boolean
2 import visions.backends.pandas.types.categorical
----> 3 import visions.backends.pandas.types.complex
4 import visions.backends.pandas.types.count
5 import visions.backends.pandas.types.date
File c:\Users\Client\anaconda3\Lib\site-packages\visions\backends\pandas\types\complex.py:7
5 from visions.backends.pandas.series_utils import series_not_empty, series_not_sparse
6 from visions.backends.pandas.types.float import string_is_float
----> 7 from visions.backends.shared.parallelization_engines import pandas_apply
8 from visions.types.complex import Complex
9 from visions.types.string import String
File c:\Users\Client\anaconda3\Lib\site-packages\visions\backends\shared_init_.py:1
----> 1 from . import nan_handling, parallelization_engines, utilities
File c:\Users\Client\anaconda3\Lib\site-packages\visions\backends\shared\nan_handling.py:34
30 # TODO: There are optimizations here, just have to define precisely the desired missing ruleset in the
31 # generated jit
32 if has_numba:
---> 34 @nb.generated_jit(nopython=True)
35 def is_missing(x):
36 """
37 Return True if the value is missing, False otherwise.
38 """
39 if isinstance(x, nb.types.Float):
AttributeError: module 'numba' has no attribute 'generated_jit'
Expected Behaviour
can't use it
import pandas_profiling
Data Description
can't use it
import pandas_profiling
Code that reproduces the bug
pandas-profiling version
v3.2.0
Dependencies
OS
Windows 11
Checklist
The text was updated successfully, but these errors were encountered: