ydataai / ydata-profiling

1 Line of code data quality profiling & exploratory data analysis for Pandas and Spark DataFrames.
https://docs.profiling.ydata.ai
MIT License
12.53k stars 1.68k forks source link

(get_var_type) No module named 'pandas_profiling.model.base' #1003

Open maxreis86 opened 2 years ago

maxreis86 commented 2 years ago

Current Behaviour

Hi dear all,

Before in version 2.9.0 we had the very usefull function get_var_type() available in:

from pandas_profiling.model.base import get_var_type

I could not find this function in version 3.2.0

ModuleNotFoundError: No module named 'pandas_profiling.model.base'

Is there any simular function like get_var_type?

Expected Behaviour

Import get_var_type function with:

from pandas_profiling.model.base import get_var_type

Data Description

Any dadaset

Code that reproduces the bug

from pandas_profiling.model.base import get_var_type

pandas-profiling version

3.2.0

Dependencies

pandas==1.3.5

OS

Amazon Linux 2

Checklist

fabclmnt commented 2 years ago

@maxreis86 can you please let me know if you still experience this with v3.3.0?

I advise the creation of a virtual-env.

maxreis86 commented 2 years ago

Hi Fabiana, Yes, v3.3.0 is still with the same problem. The function pandas_profiling.model.base.get_var_type is not available. Thank you!

fabclmnt commented 2 years ago

ok thank you for the update! I'll have a look into it @maxreis86