fixing analysis data bokeh
This commit is contained in:
@@ -329,7 +329,7 @@ def getmaxwattinterval(tt, ww, i):
|
||||
w_roll = ww.rolling(i+2).mean().dropna()
|
||||
if len(w_roll):
|
||||
# now goes with # data points - should be fixed seconds
|
||||
indexmax = w_roll.idxmax(axis=1)
|
||||
indexmax = w_roll.idxmax(axis=0)
|
||||
# indexmaxpos = indexmax.get_loc(indexmax)
|
||||
indexmaxpos = indexmax
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user