vetiver.plot_metrics#

vetiver.plot_metrics(df_metrics, date='index', estimate='estimate', metric='metric', n='n', **kw) plotly.express._chart_types.line#

Plot metrics over a given time period

Parameters
  • df_metrics (DataFrame) – Pandas dataframe of metrics over time, such as created by compute_metircs()

  • date (str) – Column in df_metrics containing dates

  • estimate (str) – Column in df_metrics containing metric output

  • metric (str) – Column in df_metrics containing metric name

  • n (str) – Column in df_metrics containing number of observations