labels attribute of pandas MultiIndex is deprecated as of pandas version 0.24. This was fixed in this commit. However, using codes instead of labels seems to only work with pandas version >0.24. To allow using older pandas versions and avoid incompatibilities with oemof, that only allows pandas < 0.24 I added a work around in two places of the windpowerlib. This also fixes #50.
labels attribute of pandas MultiIndex is deprecated as of pandas version 0.24. This was fixed in this commit. However, using codes instead of labels seems to only work with pandas version >0.24. To allow using older pandas versions and avoid incompatibilities with oemof, that only allows pandas < 0.24 I added a work around in two places of the windpowerlib. This also fixes #50.