Problem while using ColumnDataSource

I’m trying to use ColumnDataSource, but with every dataframe I used it not work, and I receive this error.
I really try with all dataframe but never a good output.

from bokeh.models import ColumnarDataSource
source = ColumnarDataSource(data)

TypeError: init() takes 1 positional argument but 2 were given,

Replace ColumnarDataSource with ColumnDataSource.

1 Like

Perhaps we should rename that base class to something less similar, it’s not something users would ever need to use directly.

2 Likes

Thanks a lot! :slight_smile: