Jan-19-2022, 08:51 AM
(Jan-19-2022, 07:47 AM)amdi40 Wrote: as it can be seen, nan values would be inserted in the wrong places too
Nan values will be inserted if indices are not in both dataframes. In order to tackle the problem indices in second dataframe (with zero values) must be created differently so that (1) all datetimes in source data are present in second dataframe (2) create indices of second dataframe so that two minutes interval resets based on value on previous and next row in source data
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.