How to Solve NameError: name 'ColumnDataSource' is not defined -- bokeh

Solution: Import the 'ColumnDataSource' module

To Solve the error, add the following line to the top of your code.

from bokeh import ColumnDataSource

 

For more information:
Python bokeh ColumnDataSource