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

Closed
lodagro opened this Issue Aug 27, 2012 · 2 comments

Comments

Projects
None yet
3 participants
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'
Member

cpcloud commented May 10, 2013

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

jreback closed this in #3572 May 21, 2013

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