天软金融分析.NET函数大全
>
TSL函数
>
基础函数
>
数组
>
数组操作
Unitary
复制链接
简述
归一处理。对数组t指定列KeyFields进行归一处理,归一方式由Type决定。
定义
Unitary(t:array;KeyFields:String;type:any;FValue:integer):Array
参数
名称
类型
说明
t
Array,TableArray
数据表类型,数据
KeyFields
String
字符串,归一字段(多个字段之间使用;分割)
Type
integer
整型,用户自定义,归一方法
显示名
取值
初值设置为指定值
0
百分比归一(%)
1
百分比归一(原数值就是百分比)
2
Ln百分比归一(%)
3
百分比归一
4
Ln百分比归一
5
Fvalue
integer
整数,自定义指定归一值
返回
Array,TableArray
数组,归一后的结果。
范例
t:=`array('a':(1,2,3,4),'b':(2,3,4,5),'c':(3,4,5,6),'d':(4,5,6,7),'e':(5,6,7,8),'f':(7,8,9,10));
Unitary(t,'b',0,10);
return t;
返回:
相关
OutPutTableToCanBeUnderstood
SeperateTable
Unitary
Reverse
DescartesJoin
TableVectorizeArray
AbnormalData
DataProcess_MF
ZValue
RPSValue
FilterOneDimEx2
GroupByFieldValue
WebFormatToRung
QKsplit_Trailing
QKsplit_ToDate
QKsplit_Resampling
Factorize
dumies_decode
SparseMatFill
ElementWhere
ArrayAddGap
GroupPercentrankIt
GroupRankIt
GroupTransformByFunc
FrameGetSubByReg
Histogram
Framedrop_duplicates
Field_ReSortCols
Framedrop_na
Framemerge
Frameqcut
Frameupdate
GroupZscoreIt
get_dummies
get_dummies2
framePivot_table
framecut
frameMelt
GroupDemeanIt
ArrDropDuplicate