How do I construct a column A, whose entries are equal to the mean/median/mode of the last 10 non-null entries of another column B?
...Gaussian smoothing of the 10 non-null values ... and take the argmax (mode) of that distributions. Thanks for any thoughts or suggestions! *** Solution idea...