universe 包
universe
包提供默认加载到 Flux 运行时中的选项和原始函数,不需要 import 语句。
常量
inf
- inf 表示浮点类型的无穷大。
选项
option now = system.time
now
now
是一个函数选项,默认返回当前系统时间。
now() vs system.time()
now()
返回当前系统时间(UTC)。 now()
在运行时会被缓存,因此 Flux 脚本中所有 now()
的执行都会返回相同的时间值。 system.time()
返回 system.time()
执行时的系统时间 (UTC)。 Flux 脚本中每个 system.time()
实例都会返回一个唯一的值。
函数
- aggregateWindow()
- bool()
- bottom()
- bytes()
字节()
- chandeMomentumOscillator()
钱德动量摆动指标()
- columns()
列()
- contains()
包含()
- count()
计数()
- cov()
协方差()
- covariance()
协方差()
- cumulativeSum()
累积和()
- derivative()
导数()
- die()
退出()
- difference()
差值()
- display()
显示()
- distinct()
去重() / 唯一值()
- doubleEMA()
双指数移动平均()
- drop()
删除()
- duplicate()
复制() / 重复()
- duration()
持续时间()
- elapsed()
经过时间()
- exponentialMovingAverage()
指数移动平均()
- fill()
填充()
- filter()
过滤()
- findColumn()
查找列()
- findRecord()
查找记录()
- first()
第一个()
- float()
浮点数()
- getColumn()
获取列()
- getRecord()
获取记录()
- group()
分组()
- highestAverage()
最高平均值()
- highestCurrent()
最高当前值()
- highestMax()
最高最大值()
- histogram()
直方图()
- histogramQuantile()
直方图分位数()
- holtWinters()
霍尔特-温特斯()
- hourSelection()
小时选择()
- increase()
增长()
- int()
整数()
- integral()
积分()
- join()
连接()
- kaufmansAMA()
考夫曼自适应移动平均()
- kaufmansER()
考夫曼效率比率()
- keep()
保留()
- keys()
键()
- keyValues()
键值对()
- last()
最后()
- length()
长度()
- limit()
限制()
- linearBins()
线性分箱()
- logarithmicBins()
对数分箱()
- lowestAverage()
最低平均值()
- lowestCurrent()
最低当前值()
- lowestMin()
最低最小值()
- map()
映射()
- max()
最大值()
- mean()
平均值()
- median()
中位数()
- min()
最小值()
- mode()
众数()
- movingAverage()
移动平均()
- now()
现在()
- pearsonr()
皮尔逊相关系数()
- pivot()
透视()
- quantile()
分位数()
- range()
范围()
- reduce()
规约()
- relativeStrengthIndex()
相对强弱指标()
- rename()
重命名()
- sample()
抽样()
- set()
设置()
- skew()
偏度()
- sort()
排序()
- spread()
离差()
- stateCount()
状态计数()
- stateDuration()
状态持续时间()
- stateTracking()
状态追踪()
- stddev()
标准差()
- string()
字符串()
- sum()
求和()
- tableFind()
表格查找()
- tail()
尾部()
- time()
时间()
- timedMovingAverage()
时间加权移动平均()
- timeShift()
时间偏移()
- timeWeightedAvg()
时间加权平均()
- toBool()
转换为布尔值()
- today()
今天()
- toFloat()
转换为浮点数()
- toInt()
转换为整数()
- top()
顶部()
- toString()
转换为字符串()
- toTime()
转换为时间()
- toUInt()
转换为无符号整数()
- tripleEMA()
三重指数移动平均()
- tripleExponentialDerivative()
三重指数导数()
- truncateTimeColumn()
截断时间列()
- uint()
无符号整数()
- union()
并集()
- unique()
唯一()
- window()
窗口()
- yield()
产出()
Was this page helpful?
此页面是否对您有帮助?
Thank you for your feedback!
感谢您的反馈!
Support and feedback
支持和反馈
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for Flux and this documentation. To find support, use the following resources
感谢您成为我们社区的一员!我们欢迎并鼓励您提供有关 Flux 和此文档的反馈和错误报告。要获得支持,请使用以下资源
Customers with an annual or support contract can contact InfluxData Support.
拥有年度或支持合同的客户可以联系 InfluxData 支持。