Skip to content
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

Raise more helpfull exception on s.plot, df.plot ... without numerical data #1818

Closed
lodagro opened this issue Aug 27, 2012 · 2 comments · Fixed by #3572
Closed

Raise more helpfull exception on s.plot, df.plot ... without numerical data #1818

lodagro opened this issue Aug 27, 2012 · 2 comments · Fixed by #3572
Milestone

Comments

@lodagro
Copy link
Contributor

lodagro commented Aug 27, 2012

In [23]: df1 = pandas.DataFrame(list('abcd'))

In [24]: df1.plot()
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
...
AttributeError: 'numpy.ndarray' object has no attribute 'find'
@cpcloud
Copy link
Member

cpcloud commented May 10, 2013

Also, passing an invalid value of kind gives a very cryptic error message.

@jreback
Copy link
Contributor

jreback commented May 21, 2013

closed by #3572

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants