☰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

DataTable crashes with 'field' in dict of data in ColumnDataSource

Community Support
dan.cutright
dan.cutright

Is this a bug? DataTable does not like a source with a data key of ‘field’, this causes no layout to be generated in the web view.

Is there a list of forbidden keywords in this type of scenario?

Thanks!

Dan

Bokeh 0.13.0

Mac OS 10.13.3

python 2.7.10

Safari 11.0.3

from bokeh.models import ColumnDataSource
from bokeh.models.widgets import TableColumn, DataTable
from bokeh.io import curdoc
from bokeh.layouts import column

source = ColumnDataSource(data=dict(x=[], y=[], field=[]))

columns = [TableColumn(field="x", title="X"),
           TableColumn(field="y", title="Y"),
           TableColumn(field="field", title="Field")]
table = DataTable(source=source, columns=columns)

curdoc().add_root(column(table))

⌁   Link to post
Bryan
Bryan

Hi,

That's definitely not intentional, please file a GH bug report with all this information.

Thanks,

Bryan

···

On Oct 23, 2018, at 16:20, dan.cutright@gmail.com wrote:

Is this a bug? DataTable does not like a source with a data key of 'field', this causes no layout to be generated in the web view.

Is there a list of forbidden keywords in this type of scenario?

Thanks!

Dan

Bokeh 0.13.0
Mac OS 10.13.3
python 2.7.10
Safari 11.0.3

from bokeh.models import ColumnDataSource
from bokeh.models.widgets import TableColumn, DataTable
from bokeh.io import curdoc
from bokeh.layouts import column

source = ColumnDataSource(data=dict(x=, y=, field=))

columns = [TableColumn(field="x", title="X"),
           TableColumn(field="y", title="Y"),
           TableColumn(field="field", title="Field")]
table = DataTable(source=source, columns=columns)

curdoc().add_root(column(table))

--
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 bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/0b78838c-3140-443a-a2d2-4333f43d9ee0%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

⌁   Link to post
dan.cutright
dan.cutright

Thanks Bryan.

···

On Tuesday, October 23, 2018 at 9:04:54 PM UTC-4, Bryan Van de ven wrote:

Hi,

That’s definitely not intentional, please file a GH bug report with all this information.

Thanks,

Bryan

On Oct 23, 2018, at 16:20, dan.cu...@gmail.com wrote:

Is this a bug? DataTable does not like a source with a data key of ‘field’, this causes no layout to be generated in the web view.

Is there a list of forbidden keywords in this type of scenario?

Thanks!

Dan

Bokeh 0.13.0

Mac OS 10.13.3

python 2.7.10

Safari 11.0.3

from bokeh.models import ColumnDataSource

from bokeh.models.widgets import TableColumn, DataTable

from bokeh.io import curdoc

from bokeh.layouts import column

source = ColumnDataSource(data=dict(x=, y=, field=))

columns = [TableColumn(field=“x”, title=“X”),

       TableColumn(field="y", title="Y"),
       TableColumn(field="field", title="Field")]

table = DataTable(source=source, columns=columns)

curdoc().add_root(column(table))

–
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 bokeh+un...@continuum.io.

To post to this group, send email to bo...@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/0b78838c-3140-443a-a2d2-4333f43d9ee0%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

⌁   Link to post

End of archived discussion · Replies are disabled