Kizspy | Question: 44
(Choose 1 answer)
FJOVERFLOW.COM
You have a DataFrame temperature_data containing temperature readings at different timestamps. Some
readings are missing due to sensor errors. After filling these missing values by linear interpolation between
existing values, what is the temperature value interpolated for the timestamp '2022-01-02'?
temperature_data = pd.DataFrame({
})
'Temperature': [20, None, 25, None, 30],
'Timestamp: pd.date_range(start='2022-01-01', periods-5, freq='D')
A. 22.5
B. 23.0
C. 27.5
D. 25.0