We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Bokeh naturally interprets Pandas group-by objects, making it very easy to plot series for datasets where each row defines one data point for a single group. As an example, take the Vizier Getting Started Bokeh Example.
Over half the code in the script is used solely to break the dataset down into groups.
By comparison, if the dataset were coming from Pandas, the following line would supplant nearly everything:
source = ds.groupby(['COUNTY'])
I propose adding a group_by optional parameter for to_bokeh so that the following line has the same behavior:
group_by
to_bokeh
source = vizierdb.get_dataset('ticks').to_bokeh(group_by = ['COUNTY'])
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bokeh naturally interprets Pandas group-by objects, making it very easy to plot series for datasets where each row defines one data point for a single group. As an example, take the Vizier Getting Started Bokeh Example.
Over half the code in the script is used solely to break the dataset down into groups.
By comparison, if the dataset were coming from Pandas, the following line would supplant nearly everything:
I propose adding a
group_by
optional parameter forto_bokeh
so that the following line has the same behavior:The text was updated successfully, but these errors were encountered: