-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
dataframe plot method throws an error #19340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
|
Try this: from pandas.plotting._misc import (scatter_matrix, radviz,
andrews_curves, bootstrap_plot,
parallel_coordinates, lag_plot,
autocorrelation_plot)
from pandas.plotting._core import boxplot
from pandas.plotting._style import plot_params
from pandas.plotting._tools import table
from pandas.plotting._converter import \
register as register_matplotlib_converters
from pandas.plotting._converter import \
deregister as deregister_matplotlib_converters and let me know if any of those imports fail. |
None of the imports fail. And still getting the same error as mentioned above. |
Can you reproduce this in a fresh environment? |
After restarting server (docker container in my case) plot method worked as expected. |
I had the same error, but after installing matplotlib and scipy it solved itself. I guess those deps should be checked in a nicer way? |
@bjourne so you you ran the above code (top of PR) and it didn't raise on the |
I never ran the same code, but I had the same error. In my case, it was triggered by an call to |
I ran into the same error, thrown at |
@ikari-pl Can you run the code in the top post? Do you then also get this error? |
I had the same error as above. After installing scipy AND restarting jupyter notebook plotting worked for me. I think restarting the notebook has to happen. |
That's true in general. Python doesn't handle dynamically reloading modules
well.
…On Thu, Feb 15, 2018 at 12:14 PM, Paul Singman ***@***.***> wrote:
I had the same error as above. After installing scipy AND restarting
jupyter notebook plotting worked for me. I think restarting the notebook
has to happen.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#19340 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABQHIp1EOvHyXNxYk7vVfl7mM-aJh_Owks5tVHQKgaJpZM4RmPJr>
.
|
UNINSTALL PANDAS |
Code Sample, a copy-pastable example if possible
Problem description
Getting an error:
NameError: name '_converter' is not defined
https://stackoverflow.com/questions/48341233/ts-plot-and-dataframe-plot-throwing-error-nameerror-name-converter-is
Expected Output
chart as usual
Output of
pd.show_versions()
INSTALLED VERSIONS
commit: None
python: 3.6.2.final.0
python-bits: 64
OS: Linux
OS-release: 4.9.75-25.55.amzn1.x86_64
machine: x86_64
processor:
byteorder: little
LC_ALL: C.UTF-8
LANG: C.UTF-8
LOCALE: en_US.UTF-8
pandas: 0.22.0
pytest: 3.3.2
pip: 9.0.1
setuptools: 36.5.0.post20170921
Cython: 0.27.3
numpy: 1.13.3
scipy: None
pyarrow: None
xarray: None
IPython: 6.2.1
sphinx: None
patsy: None
dateutil: 2.6.1
pytz: 2017.3
blosc: None
bottleneck: None
tables: None
numexpr: None
feather: None
matplotlib: 2.1.2
openpyxl: 2.4.9
xlrd: None
xlwt: None
xlsxwriter: None
lxml: 4.1.1
bs4: 4.6.0
html5lib: 1.0.1
sqlalchemy: 1.2.1
pymysql: 0.8.0
psycopg2: None
jinja2: 2.10
s3fs: None
fastparquet: 0.1.3
pandas_gbq: None
pandas_datareader: None
The text was updated successfully, but these errors were encountered: