Skip to content

Commit

Permalink
fixed last pd2 groupby test
Browse files Browse the repository at this point in the history
  • Loading branch information
grantbuster committed Apr 5, 2023
1 parent 462bd27 commit 2f0d6c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions reVX/hybrid_stats/hybrid_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -1495,6 +1495,7 @@ def _compute_coefficients(cls, solar_data, wind_data, solar_cap=None,
['stability'])
out_stats = {}
for grp_name, mix_grp in mix:
grp_name = grp_name[0] if len(grp_name) == 1 else grp_name
col = cols_map['stability'][grp_name]
ref_grp = ref.get_group(grp_name)
msg = ('mixed and reference data shapes do not match! {} != {}'
Expand Down

0 comments on commit 2f0d6c1

Please sign in to comment.