Fixed Ranking distances
This commit is contained in:
@@ -186,7 +186,7 @@ def interactive_cpchart(thedistances,thesecs,theavpower,
|
||||
velo = thedistances/thesecs
|
||||
p = pd.Series(500./velo)
|
||||
|
||||
p2 = p.fillna(method='ffil').apply(lambda x: timedeltaconv(x))
|
||||
p2 = p.fillna(method='ffill').apply(lambda x: timedeltaconv(x))
|
||||
|
||||
source = ColumnDataSource(
|
||||
data = dict(
|
||||
@@ -198,7 +198,7 @@ def interactive_cpchart(thedistances,thesecs,theavpower,
|
||||
),
|
||||
|
||||
power = theavpower,
|
||||
pace = nicepaceformat(p2),
|
||||
fpace = nicepaceformat(p2),
|
||||
)
|
||||
)
|
||||
|
||||
@@ -228,7 +228,7 @@ def interactive_cpchart(thedistances,thesecs,theavpower,
|
||||
tim = niceformat(
|
||||
fitt.fillna(method='ffill').apply(lambda x: timedeltaconv(x))
|
||||
),
|
||||
pace = nicepaceformat(fitp2),
|
||||
fpace = nicepaceformat(fitp2),
|
||||
)
|
||||
)
|
||||
|
||||
@@ -269,7 +269,7 @@ def interactive_cpchart(thedistances,thesecs,theavpower,
|
||||
),
|
||||
spm = 0*fitpower,
|
||||
power = fitpower,
|
||||
pace = nicepaceformat(fitp2),
|
||||
fpace = nicepaceformat(fitp2),
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user