Plotly Express - Scatter trendline mean

I am trying to put mean as a trendline in the scatter plot

but looking at the documentation Linear and non-linear trendlines in Python, there is no trendline mean, any suggestion on how to do it?

import plotly.express as px
import pandas as pd
df = pd.DataFrame({β€˜date’ : [β€˜01/01/2022’,β€˜01/01/2022’,β€˜01/01/2022’,β€˜01/01/2022’,β€˜01/01/2022’,β€˜01/01/2022’,
β€˜02/01/2022’,β€˜02/01/2022’,β€˜02/01/2022’,β€˜02/01/2022’,
β€˜03/01/2022’,β€˜03/01/2022’,β€˜03/01/2022’,β€˜03/01/2022’],
β€˜value’: [12,15,5,9,22,27,12,16,6,2,18,16,17,19]})

df[β€˜date’] = pd.to_datetime(df[β€˜date’])

fig = px.scatter(df, x=β€œdate”, y=β€œvalue”, trendline=β€œrolling”, trendline_options=dict(window=df.value.count())
fig.show()

would something like rolling, window = y.count() make it?