i have data, time series data, and i want to impute the missing data. i cant use mean of the column because i think it's not good for time series data. so i want simple linear regression to impute it
Day, Price
1 , NaN
2, NaN
3, 1800
4, 1900
5, NaN
6, NaN
7, 2000
8, 2200
How to do this ?
i prefer to do this using Pandas, but if there is no other way i'm ok to do it using sklearn :)