fillMissingDays

open override fun fillMissingDays(rewindDays: Int, inplace: Boolean): TimeSeries.ScreenTimeAggregateTimeSeries

This is an in-place operation. Use this function to fill missing days (the function adds NaNs) both in the future and in the past (up to the specified number of days in the past). Since the SDK does not return a value for the score in a day where the confidence it too low, this function can be useful to fill in blanks for UI/UX purposes.

Return

the current TimeSeries as this is an in-place operation

Parameters

rewindDays

how many days to fill in in the past