question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

import error: ImportError: No module named 'pandas.tools'

See original GitHub issue

Pandas 0.19.2, Windows Server 2012 Same setup runs ok elsewhere assume it is a missing library.

>>> import pandas
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "lib\pandas\__init__.py", line 39, in <module>
    from pandas.core.api import *
  File "lib\pandas\core\api.py", line 10, in <module>
    from pandas.core.groupby import Grouper
  File "lib\pandas\core\groupby.py", line 40, in <module>
    from pandas.core.frame import DataFrame
  File "lib\pandas\core\frame.py", line 72, in <module>
    from pandas.core.series import Series
  File "lib\pandas\core\series.py", line 2974, in <module>
    import pandas.tools.plotting as _gfx  # noqa
ImportError: No module named 'pandas.tools'
>>> quit()

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:14 (2 by maintainers)

github_iconTop GitHub Comments

98reactions
RubensZimbrescommented, Mar 12, 2019

In fact this may be another lind of issue. For instance:

from pandas.tools.plotting import autocorrelation_plot

Throws an error: ModuleNotFoundError: No module named 'pandas.tools'

However, from pandas.plotting import autocorrelation_plot works perfectly.

6reactions
vivekreddoorzcommented, Jun 27, 2019

In fact this may be another lind of issue. For instance:

from pandas.tools.plotting import autocorrelation_plot

Throws an error: ModuleNotFoundError: No module named 'pandas.tools'

However, from pandas.plotting import autocorrelation_plot works perfectly.

work fine for me…thnx

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problems importing pandas.plotting - python - Stack Overflow
The plotting module has been moved from pandas.tools.plotting to ... here and run # there should be no error messages (unless a new...
Read more >
How to Fix ImportError: No module named pandas [Mac/Linux ...
Quick Fix: Python raises the ImportError: No module named pandas when it cannot find the Pandas installation. The most frequent source of this...
Read more >
No module named 'pandas' when import pandas - Microsoft Q&A
I have installed Anaconda and pandas are installed in a particular directory location. However when I run my Python script in Visual Studio ......
Read more >
Troubleshoot No module named Pandas errors in Python
Solving the importerror: no module named 'pandas' · Hit Enter. · Python will download the pandas library from the online repository. · Once...
Read more >
"ModuleNotFoundError: No module named 'pandas'" Code Example
ImportError : No module named pandas ; 1. which python ; 2. python --version ; 3. which pip ; 4. ​.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found