I'm pretty much a beginner
Can someone explain to me how to correct miss handling of data? I would appreciate any help given :)
For example this here's the data set:
d = {'timestamp': ['2021-11-11 12:00:00','2021-11-11 12:01:00','2021-11-11 12:02:00','2021-11-11 12:03:00','2021-11-11 12:04:00',
'2021-11-11 12:05:00','2021-11-11 12:06:00','2021-11-11 12:07:00','2021-11-11 12:08:00','2021-11-11 12:09:00'],
'value1': [1,1,2,3,4,4,4,np.nan,6,6],
'value2': [10,10,9,7,np.nan,5,5,5,5,5]
}
df = pd.DataFrame(data=d)
## Fill in the missing data in the value1 column
print(df)