Skip to content

BUG: plot(kind=hist) results in TypeError if it contains non-numeric data #9853

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

Merged
merged 1 commit into from
Apr 11, 2015

Conversation

sinhrks
Copy link
Member

@sinhrks sinhrks commented Apr 11, 2015

df = pd.DataFrame(np.random.rand(20, 5), columns=['A', 'B', 'C', 'D', 'E'])
df['C'] = ['A', 'B', 'C', 'D'] * 5
df['D'] = df['D'] * 100

df.plot(kind='hist')
# TypeError: cannot concatenate 'str' and 'float' objects

@jreback jreback added this to the 0.16.1 milestone Apr 11, 2015
jreback added a commit that referenced this pull request Apr 11, 2015
BUG: plot(kind=hist) results in TypeError if it contains non-numeric data
@jreback jreback merged commit 2b6bd97 into pandas-dev:master Apr 11, 2015
@sinhrks sinhrks deleted the hist_char branch April 11, 2015 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants