universe 包
universe
包提供了默认加载到 Flux 运行时中的选项和原始函数,无需 import 语句。
常量
inf
- inf 表示无穷大的浮点数值。
Options
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()
此页面是否对您有帮助?
感谢您的反馈!