Aarhus-Psychiatry-Research / timeseriesflattener

Converting irregularly spaced time series, such as eletronic health records, into dataframes for tabular classification.
https://Aarhus-Psychiatry-Research.github.io/timeseriesflattener
MIT License
19 stars 2 forks source link

fix: pure NaNs when flattening with lookbehind-tuple in 01_basic #480

Closed MartinBernstorff closed 8 months ago

MartinBernstorff commented 8 months ago

@HLasse Not sure what is going on here, any ideas?

HLasse commented 8 months ago

Nasty little bug in _get_timedelta_frame if the timestamp column in predictiontime_frame´ andvalue_frame` had the same name meant that the timedelta would always be 0 in that case.