填充
Fill missing values in time series
填充
is not recommended. Usetimetable
instead. For more information, see将财务时间序列对象转换为时间表.
Syntax
描述
replaces missing values (represented bynewfts
= fillts(oldfts
,fillmethod
)NaN
) in the financial time series objectoldfts
with real values, using either a constant or the interpolation process indicated byfillmethod
.
替换指定日期上的所有缺失值newfts
= fillts(oldfts
,fillmethod
,newdates
)newdates
添加到财务时间序列oldfts
with new values. The values can be a single constant or values obtained through the interpolation process designated byfillmethod
. If any of the dates innewdates
exists inoldfts
,现有的优先事项。