Kizspy | Question: 39
(Choose 1 answer)
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 with the last observed temperature
using forward fill (ffill), what is the temperature value at 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. 20
B. 25
C. 30
D. 27.5