1

I have an error with Python 2.7.12 (Anaconda 4.1.1 64bit) when I try to run :

import pandas.core.format

It gives me:

"No module named format"

I have pandas package installed and it is working fine with another computer. How to fix this?

Thanks!

1 Answer 1

3

It's been moved to pandas.formats in Pandas 0.18.1

so try this instead:

import pandas.formats.format

you can also do it version independent:

try:
    import pandas.formats.format
except ImportError:
    import pandas.core.format
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.