Skip to content

Instantly share code, notes, and snippets.

@AntonioMarsella
Created March 18, 2020 12:44
Show Gist options
  • Save AntonioMarsella/06fec1c8b2db2085144ab6f2a3416b95 to your computer and use it in GitHub Desktop.
Save AntonioMarsella/06fec1c8b2db2085144ab6f2a3416b95 to your computer and use it in GitHub Desktop.
Using Pandas Dataframe in Bokeh with flowers (iris dataset)
from bokeh.io import output_file, show
from bokeh.plotting import figure
# Flowers is a Pandas Dataframe
from bokeh.sampledate.iris import flowers
plot = figure()
plot.circle(flowers['petal_length'], flowers['sepal_length'], size=10)
output_file('pandas.html')
show(plot)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment