☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Codes for categorical data

Community Supportbokehjsbokeh
dinya
dinya

Hello,

If I understand correctly, currently the only way to represent categorical data in CDS (at JS-side) is strings.

Are there any plans to implement int-codes and mapping {code:“string”} (like Pandas does)? It will be actual for large datasets.

⌁   Link to post
Bryan
Bryan

@dinya the idea has been casually floated in the past a few times, but it was never acted on. Nothing is planned at all, in the sense that apart from some specific funded grant work, all the work of Bokeh is undertaken purely by self-directed volunteers. In any case I don’t see any issue for this suggestion, so if you’d like to try to make a case for it, a persuasive GitHub Issue is the first step.

⌁   Link to post

End of archived discussion · Replies are disabled