gen.tables() 函数
gen.tables()
生成表数据流。
函数类型签名
(
n: int,
?nulls: float,
?seed: int,
?tags: [{name: string, cardinality: int}],
) => stream[{A with _value: float, _time: time}]
更多信息,请参阅 函数类型签名。
参数
n
(必需) 要生成的行数。
nulls
在输入中使用空值的百分比几率。有效值范围为 [0.0 - 1.0]
。
tags
要生成的标签集及其基数。
seed
将种子传递给表生成器,以每次获得相同的序列。
此页是否对您有帮助?
感谢您的反馈!