We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c8cb6e commit 8bf3a08Copy full SHA for 8bf3a08
1 file changed
idf_analysis/idf_backend_2012.py
@@ -59,7 +59,7 @@ def reverse_engineering(self, idf_table, linear_interpolation=False):
59
# --
60
w = []
61
for dur in durations:
62
- dat = w_dat.loc[dur]
+ dat = w_dat.loc[dur].dropna()
63
log_tn_i = np.log(dat.index.values)
64
w.append(sum(dat.values * log_tn_i) / sum(log_tn_i ** 2))
65
0 commit comments