first working version compare
This commit is contained in:
@@ -1 +0,0 @@
|
||||
sander@rowsandall-2.231246:1710428505
|
||||
@@ -1314,7 +1314,6 @@ def getsmallrowdata_db(columns, ids=[], doclean=True, workstrokesonly=True, comp
|
||||
workstrokesonly=workstrokesonly)
|
||||
data.dropna(axis=1, how='all', inplace=True)
|
||||
data.dropna(axis=0, how='any', inplace=True)
|
||||
print(data)
|
||||
return data
|
||||
except TypeError:
|
||||
pass
|
||||
|
||||
@@ -5313,6 +5313,10 @@ def interactive_multiple_compare_chart(ids, xparam, yparam, plottype='line',
|
||||
if datadf.empty: # pragma: no cover
|
||||
return ['', '<p>No non-zero data in selection</p>', '', 'No non-zero data in selection']
|
||||
|
||||
|
||||
if (xparam == 'time'):
|
||||
datadf[xparam] = datadf[xparam] - datadf[xparam].iloc[0]
|
||||
|
||||
data_dict = datadf.to_dict("records")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user