fixing #591
This commit is contained in:
@@ -648,7 +648,7 @@ def clean_df_stats(datadf, workstrokesonly=True, ignorehr=True,
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
try:
|
try:
|
||||||
mask = datadf['spm'] > 60
|
mask = datadf['spm'] > 120
|
||||||
datadf.mask(mask,inplace=True)
|
datadf.mask(mask,inplace=True)
|
||||||
except (KeyError,TypeError):
|
except (KeyError,TypeError):
|
||||||
pass
|
pass
|
||||||
@@ -2252,6 +2252,7 @@ def getsmallrowdata_db(columns, ids=[], doclean=True,workstrokesonly=True,comput
|
|||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
df = pd.read_parquet(csvfilenames[0],columns=columns)
|
df = pd.read_parquet(csvfilenames[0],columns=columns)
|
||||||
|
for c in columns:
|
||||||
except (OSError,ArrowInvalid):
|
except (OSError,ArrowInvalid):
|
||||||
rowdata,row = getrowdata(id=ids[0])
|
rowdata,row = getrowdata(id=ids[0])
|
||||||
if rowdata and len(rowdata.df):
|
if rowdata and len(rowdata.df):
|
||||||
|
|||||||
@@ -4757,7 +4757,6 @@ def interactive_flexchart_stacked(id,r,xparam='time',
|
|||||||
workstrokesonly=False)
|
workstrokesonly=False)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if r.usersmooth > 1:
|
if r.usersmooth > 1:
|
||||||
for column in columns:
|
for column in columns:
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user