Closed jnnr closed 2 years ago
The function aggregate_scalars https://github.com/rl-institut/oemof-B3/blob/dev/oemof_b3/tools/data_processing.py#L383 has problems with NaNs. If e.g. I aggregate scalar data by region and carrier contains NaNs, the result will show NaN for carrier in all lines.
aggregate_scalars
carrier
Shouldn't this be addressed by groupby parameter dropna (new in version 1.1.0)? I will check anyway
groupby
dropna
The function
aggregate_scalars
https://github.com/rl-institut/oemof-B3/blob/dev/oemof_b3/tools/data_processing.py#L383 has problems with NaNs. If e.g. I aggregate scalar data by region andcarrier
contains NaNs, the result will show NaN for carrier in all lines.