MCPcopy Index your code
hub / github.com/plotly/plotly.py / expanding

Function expanding

plotly/express/trendline_functions/__init__.py:151–159  ·  view source on GitHub ↗

Expanding trendline function The value of the `function` key of the `trendline_options` dict is the function to use (defaults to `mean`) and the value of the `function_args` key are taken to be its arguments as a dict. The remainder of the `trendline_options` dict is passed as keyw

(trendline_options, x_raw, x, y, x_label, y_label, non_missing)

Source from the content-addressed store, hash-verified

149
150
151def expanding(trendline_options, x_raw, x, y, x_label, y_label, non_missing):
152 """Expanding trendline function
153
154 The value of the `function` key of the `trendline_options` dict is the function to
155 use (defaults to `mean`) and the value of the `function_args` key are taken to be
156 its arguments as a dict. The remainder of the `trendline_options` dict is passed as
157 keyword arguments into the `pandas.Series.expanding` function.
158 """
159 return _pandas("expanding", trendline_options, x_raw, y, non_missing)
160
161
162def ewm(trendline_options, x_raw, x, y, x_label, y_label, non_missing):

Callers

nothing calls this directly

Calls 1

_pandasFunction · 0.85

Tested by

no test coverage detected