Private
Public Access
1
0

added spmmin and work filtering to histo

This commit is contained in:
Sander Roosendaal
2019-04-29 19:54:08 +02:00
parent 991612d02b
commit a670ee0884
4 changed files with 32 additions and 13 deletions

View File

@@ -2175,7 +2175,7 @@ def dataprep(rowdatadf, id=0, bands=True, barchart=True, otwpower=True,
drivespeed = drivespeed.fillna(value=0)
try:
print('driveenergy',rowdatadf['driveenergy'].mean())
driveenergy = rowdatadf['driveenergy']
except KeyError:
if forceunit == 'lbs':
driveenergy = drivelength * averageforce * lbstoN