用法:
dashboard(charts: list, sidebar: list = [], layout=<class 'cuxfilter.layouts.layouts.Layout0'>, theme=<class 'cuxfilter.themes.light.LightTheme'>, title='Dashboard', data_size_widget=True, warnings=False, layout_array=None)
創建一個 cuxfilter.DashBoard 對象
- charts: list:
cuxfilter.charts 列表
- layout: cuxfilter.layouts:
- title: str:
儀表板標題,默認 “Dashboard”
- data_size_widget: boolean:
flag 確定是否顯示儀表板中選擇的當前數據點,默認 True
- warnings: boolean:
用於禁用或啟用與布局相關的運行時警告的標誌,默認為 False
- cuxfilter.DashBoard 對象
參數:
返回:
例子:
>>> import cudf >>> import cuxfilter >>> from cuxfilter.charts import bokeh >>> df = cudf.DataFrame( >>> { >>> 'key': [0, 1, 2, 3, 4], >>> 'val':[float(i + 10) for i in range(5)] >>> } >>> ) >>> cux_df = cuxfilter.DataFrame.from_dataframe(df) >>> line_chart_1 = bokeh.line( >>> 'key', 'val', data_points=5, add_interaction=False >>> )
>>> # create a dashboard object >>> d = cux_df.dashboard([line_chart_1])
相關用法
- Python cuxfilter.dataframe.DataFrame.from_dataframe用法及代碼示例
- Python cuxfilter.dataframe.DataFrame.from_arrow用法及代碼示例
- Python cuxfilter.dataframe.DataFrame.load_graph用法及代碼示例
- Python cuxfilter.dashboard.DashBoard.add_charts用法及代碼示例
- Python cuxfilter.dashboard.DashBoard.preview用法及代碼示例
- Python cuxfilter.dashboard.DashBoard用法及代碼示例
- Python cuxfilter.dashboard.DashBoard.app用法及代碼示例
- Python cuxfilter.dashboard.DashBoard.export用法及代碼示例
- Python cuxfilter.dashboard.DashBoard.show用法及代碼示例
- Python cuxfilter.charts.datashader.heatmap用法及代碼示例
- Python cuxfilter.charts.panel_widgets.int_slider用法及代碼示例
- Python cuxfilter.charts.datashader.line用法及代碼示例
- Python cuxfilter.charts.panel_widgets.float_slider用法及代碼示例
- Python cuxfilter.charts.panel_widgets.multi_select用法及代碼示例
- Python cuxfilter.charts.datashader.graph用法及代碼示例
- Python cuxfilter.charts.bokeh.bar用法及代碼示例
- Python cuxfilter.charts.panel_widgets.card用法及代碼示例
- Python cuxfilter.charts.panel_widgets.date_range_slider用法及代碼示例
- Python cuxfilter.charts.panel_widgets.range_slider用法及代碼示例
- Python cuxfilter.charts.datashader.scatter用法及代碼示例
注:本文由純淨天空篩選整理自rapids.ai大神的英文原創作品 cuxfilter.dataframe.DataFrame.dashboard。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。