Code function time series(代码函数时间序列(Code function time series))¶
The code function time series card creates a plot of time series returned by a Python function. To return a time series, you must return a list[bytes] formatted as a time series.
- Choose a function from the Select a Function... dropdown menu of the card editor to the right of the screen.
- Once you make a selection, the inputs of the function will appear below. Enter the inputs as required.
- Toggle on the Auto-update option if you want the analysis to always use the latest version of the function. By default, the function’s version will be set to the latest version available at the time of creation. You can change the version manually using the dropdown menu.
:::callout{theme="warning"} Categorical time series outputs are currently unsupported. :::
Input type¶
Object set, single object, number, string, time, boolean, number array, string array, time array, boolean array
Output type¶
Time series
中文翻译¶
代码函数时间序列(Code function time series)¶
代码函数时间序列卡片可绘制由 Python 函数 返回的时间序列图。要返回时间序列,您必须返回一个格式为 时间序列 的 list[bytes]。
- 在屏幕右侧卡片编辑器的 选择函数...(Select a Function...) 下拉菜单中选择一个函数。
- 做出选择后,函数的输入参数将显示出来。请按要求输入参数。
- 如果您希望分析始终使用函数的最新版本,请开启 自动更新(Auto-update) 选项。默认情况下,函数版本将设置为创建时可用的最新版本。您也可以使用下拉菜单手动更改版本。
:::callout{theme="warning"} 目前不支持分类时间序列(Categorical time series)输出。 :::
输入类型¶
对象集、单个对象、数字、字符串、时间、布尔值、数字数组、字符串数组、时间数组、布尔值数组
输出类型¶
时间序列