harmonize does not return a DataFrame on single column flags
Consider a configuration like this:
varname | test |
---|---|
var1 | harmonize_shift2Grid(freq="15Min") |
The flags
-DataFrame
will then only have one column called var1
no matter how many columns the data
-DataFrame
might have. The following condition in _toMerge
will result in an early return of data_to_insert
and the rest of the data
-DataFrame
gets lost. My first temptation was to simply change flags.empty
to data.empty
but I am actually unsure if this would break other stuff.