population.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:bigquery-bokeh-dashboard 作者: GoogleCloudPlatform 项目源码 文件源码
def make_plot(self, dataframe):
        self.source = ColumnDataSource(data=dataframe)
        self.title = Paragraph(text=TITLE)
        self.data_table = DataTable(source=self.source, width=390, height=275, columns=[
            TableColumn(field="zipcode", title="Zipcodes", width=100),
            TableColumn(field="population", title="Population", width=100, formatter=NumberFormatter(format="0,0")),
            TableColumn(field="city", title="City")
        ])
        return column(self.title, self.data_table)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号