modelhub.ModelHub.to_metabase
to_metabase
(data, model_type=None, config=None)Plot data in data
to Metabase. If a card already exists, it will be updated. If data
is a
bach.Series
, it will call bach.Series.to_frame()
.
Default options can be overridden using the config dictionary.
Parameters
data
–bach.DataFrame
orbach.Series
to push to MetaBase.model_type
(Optional[str]) – Preset output to Metabase for a specific model. eg, ‘unique_users’config
(Optional[dict]) – Override default config options for the graph to be added/updated in Metabase.