ImportError: cannot import name 'values_from_object' from 'pandas._libs.lib'
See original GitHub issue- Lazy Predict version:
- Python version:
- Operating System:
Description
Im running libeary on google colab
What I Did
clf = LazyClassifier(verbose=0, ignore_warnings=True, custom_metric=None) models, predictions = clf.fit(X_train, X_test, y_train, y_test) models
Output =>
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
/usr/local/lib/python3.7/dist-packages/pyforest/__init__.py in <module>()
1 clf = LazyClassifier(verbose=0, ignore_warnings=True, custom_metric=None)
----> 2 models, predictions = clf.fit(X_train, X_test, y_train, y_test)
3 models
6 frames
/usr/local/lib/python3.7/dist-packages/pandas/core/computation/expressions.py in <module>()
13 from pandas._config import get_option
14
---> 15 from pandas._libs.lib import values_from_object
16
17 from pandas.core.dtypes.generic import ABCDataFrame
ImportError: cannot import name 'values_from_object' from 'pandas._libs.lib' (/usr/local/lib/python3.7/dist-packages/pandas/_libs/lib.cpython-37m-x86_64-linux-gnu.so)
---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------
Issue Analytics
- State:
- Created 2 years ago
- Comments:7
Top Results From Across the Web
ImportError: cannot import name 'NA' from 'pandas._libs.missing'
ERROR : Could not install packages due to an EnvironmentError: [WinError 5] Access is denied: 'C:\Users\Ana\Anac1\Lib\site-packages\pandas\_libs\ ...
Read more >IO tools (text, CSV, HDF5, …) — pandas 1.5.2 documentation
Default behavior is to infer the column names: if no names are passed the ... In [1]: import pandas as pd In [2]:...
Read more >How to Fix: No module named pandas - GeeksforGeeks
The error “No module named pandas ” will occur when there is no pandas library in your environment IE the pandas module is...
Read more >0 - Data Science Stack Exchange
alerts import AlertType ImportError: cannot import name 'Settings' from 'pandas_profiling.config' (/usr/local/lib/python3.7/dist-packages/ ...
Read more >No module named 'pandas' when import pandas - Microsoft Q&A
However when I run my Python script in Visual Studio Code the "import pandas as pd" returns the error above.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No improvement even after uninstall and install
Under windows 11 environment, I get the same error after reinstalling.