histogram with non-numeric column type

Does bokeh support histograms with character/non-numeric column types ?

Sample -

from bokeh.sampledata.autompg import autompg as df

hist = Histogram(df[‘name’])

show(hist)

Pandas plotting supports it -

df[‘name’].value_counts().plot(kind=‘barh’)

–aj

Looks like it's not currently supported in bokeh.charts natively. Could you make a feature request issue on GitHub for this? In the mean time you could create a histogram "by hand" using the slightly lower level bokeh.plotting interface.

Bryan

···

On Dec 30, 2015, at 6:13 PM, Ajinkya Kale <[email protected]> wrote:

Does bokeh support histograms with character/non-numeric column types ?

Sample -

from bokeh.sampledata.autompg import autompg as df
hist = Histogram(df['name'])
show(hist)

Pandas plotting supports it -
df['name'].value_counts().plot(kind='barh')

--aj

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/54ddcfe9-38ca-4d0b-8a50-3a7f55ec73d5%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.