Module ImportFrom alias alias Import alias identifier Import alias identifier Import alias identifier ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call NameLoad Call NameLoad Call NameLoad NameLoad Str attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr CompareGt SubscriptLoad NameLoad Index Str Num Str Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr CompareGt SubscriptLoad NameLoad Index Str Num Num Num Expr Call AttributeLoad NameLoad attr Num keyword NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Lambda arguments args NameParam defaults Call AttributeLoad Str attr Call NameLoad NameLoad With Call NameLoad Call NameLoad Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign SubscriptStore AttributeLoad NameLoad attr Index TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Num Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Call NameLoad keyword Str keyword Num keyword Num keyword Num keyword Num Assign NameStore Call NameLoad keyword Str keyword Num keyword Num keyword Num keyword Num Assign NameStore Call NameLoad keyword Str keyword Num keyword Num keyword Num keyword Num Assign NameStore Call NameLoad keyword Str keyword Num keyword Num keyword Num keyword Num Assign NameStore Call NameLoad keyword Str keyword Num keyword Num keyword Num keyword Num Assign NameStore Call NameLoad keyword Str keyword Str keyword Call AttributeLoad Call AttributeLoad Call NameLoad Call NameLoad Call NameLoad NameLoad Str attr attr Assign NameStore Call NameLoad keyword Str Assign NameStore Call NameLoad keyword Str Assign NameStore Call NameLoad keyword Str keyword Call NameLoad Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad keyword Str keyword Call NameLoad Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad keyword Call NameLoad keyword ListLoad keyword ListLoad keyword ListLoad keyword ListLoad keyword ListLoad keyword ListLoad Assign NameStore Call NameLoad keyword ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str Assign NameStore Call NameLoad keyword Num keyword Num keyword Str keyword NameLoad keyword ListLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword NameLoad keyword Num keyword Str keyword NameLoad keyword Str FunctionDef arguments args defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad NameLoad Index BinOpBitAnd BinOpBitAnd BinOpBitAnd BinOpBitAnd CompareGtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareGtE AttributeLoad NameLoad attr BinOpMult AttributeLoad NameLoad attr Num CompareGtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareLtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareGtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareNotEq NameLoad Str body Assign NameStore SubscriptLoad NameLoad Index CompareEq Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad If CompareNotEq NameLoad Str body Assign NameStore SubscriptLoad NameLoad Index CompareEq Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad If CompareNotEq NameLoad Str body Assign NameStore SubscriptLoad NameLoad Index CompareEq Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad Assign NameStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpMod Str Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword SubscriptLoad NameLoad Index NameLoad keyword SubscriptLoad NameLoad Index NameLoad keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str decorator_list Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad keyword Num Expr Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad Call NameLoad attr Call NameLoad NameLoad NameLoad keyword Num
N/A os.path dirname join N/A numpy np N/A pandas.io.sql psql N/A sqlite3 sql bokeh.plotting Figure bokeh.models ColumnDataSource HoverTool HBox VBoxForm bokeh.models.widgets Slider Select TextInput bokeh.io curdoc bokeh.sampledata.movies_data movie_path N/A conn N/A N/A sql connect movie_path N/A query N/A N/A N/A open N/A join N/A dirname __file__ query.sql read N/A movies N/A N/A psql read_sql query conn N/A N/A movies N/A color N/A N/A np where N/A N/A movies N/A Oscars 0 orange grey N/A N/A movies N/A alpha N/A N/A np where N/A N/A movies N/A Oscars 0 0.9 0.25 N/A N/A N/A movies fillna 0 inplace True N/A N/A movies N/A revenue N/A N/A N/A movies BoxOffice apply N/A N/A N/A x N/A N/A N/A {:,d} format N/A int x N/A N/A open N/A join N/A dirname __file__ razzies-clean.csv f N/A N/A razzies N/A N/A N/A N/A f read splitlines N/A N/A N/A movies loc N/A N/A N/A N/A N/A movies imdbID isin razzies color purple N/A N/A N/A movies loc N/A N/A N/A N/A N/A movies imdbID isin razzies alpha 0.9 N/A axis_map N/A Tomato Meter Numeric Rating Number of Reviews Box Office (dollars) Length (minutes) Year Meter numericRating Reviews BoxOffice Runtime Year N/A reviews N/A Slider title Minimum number of reviews value 80 start 10 end 300 step 10 N/A min_year N/A Slider title Year released start 1940 end 2014 value 1970 step 1 N/A max_year N/A Slider title End Year released start 1940 end 2014 value 2014 step 1 N/A oscars N/A Slider title Minimum number of Oscar wins start 0 end 4 value 0 step 1 N/A boxoffice N/A Slider title Dollars at Box Office (millions) start 0 end 800 value 0 step 1 N/A genre N/A Select title Genre value All options N/A N/A N/A N/A N/A open N/A join N/A dirname __file__ genres.txt read split N/A director N/A TextInput title Director name contains N/A cast N/A TextInput title Cast names contains N/A x_axis N/A Select title X Axis options N/A sorted N/A N/A axis_map keys value Tomato Meter N/A y_axis N/A Select title Y Axis options N/A sorted N/A N/A axis_map keys value Number of Reviews N/A source N/A ColumnDataSource data N/A dict x N/A y N/A color N/A title N/A year N/A revenue N/A N/A hover N/A HoverTool tooltips N/A N/A Title @title N/A Year @year N/A $ @revenue N/A p N/A Figure plot_height 600 plot_width 800 title toolbar_location None tools N/A hover N/A N/A N/A p circle x x y y source source size 7 color color line_color None fill_alpha alpha select_movies N/A N/A N/A N/A N/A genre_val N/A genre value N/A director_val N/A N/A N/A director value strip N/A cast_val N/A N/A N/A cast value strip N/A selected N/A movies N/A N/A N/A N/A N/A N/A N/A movies Reviews N/A reviews value N/A N/A movies BoxOffice N/A N/A boxoffice value 1000000.0 N/A N/A movies Year N/A min_year value N/A N/A movies Year N/A max_year value N/A N/A movies Oscars N/A oscars value N/A N/A genre_val All N/A N/A selected N/A selected N/A N/A N/A N/A N/A N/A selected Genre str contains genre_val True N/A N/A director_val N/A N/A selected N/A selected N/A N/A N/A N/A N/A N/A selected Director str contains director_val True N/A N/A cast_val N/A N/A selected N/A selected N/A N/A N/A N/A N/A N/A selected Cast str contains cast_val True N/A selected N/A update N/A N/A attrname old new N/A N/A N/A df N/A select_movies N/A x_name N/A axis_map N/A N/A x_axis value N/A y_name N/A axis_map N/A N/A y_axis value N/A N/A N/A p xaxis axis_label N/A x_axis value N/A N/A N/A p yaxis axis_label N/A y_axis value N/A N/A p title N/A %d movies selected N/A len df N/A N/A source data N/A dict x N/A df N/A x_name y N/A df N/A y_name color N/A df N/A color title N/A df N/A Title year N/A df N/A Year revenue N/A df N/A revenue alpha N/A df N/A alpha N/A N/A controls N/A reviews boxoffice genre min_year max_year oscars director cast x_axis y_axis N/A control controls N/A N/A N/A N/A control on_change value update N/A inputs N/A HBox N/A VBoxForm controls width 300 N/A N/A update None None None N/A N/A N/A N/A curdoc add_root N/A HBox inputs p width 1100