bug fix
This commit is contained in:
@@ -2007,9 +2007,9 @@ def read_df_sql(id):
|
|||||||
f = 'media/strokedata_{id}.parquet.gz'.format(id=id)
|
f = 'media/strokedata_{id}.parquet.gz'.format(id=id)
|
||||||
df = pd.read_parquet(f)
|
df = pd.read_parquet(f)
|
||||||
except OSError:
|
except OSError:
|
||||||
rowdata,row = getrowdata(id=ids[0])
|
rowdata,row = getrowdata(id=id)
|
||||||
if rowdata and len(rowdata.df):
|
if rowdata and len(rowdata.df):
|
||||||
data = dataprep(rowdata.df,id=ids[0],bands=True,otwpower=True,barchart=True)
|
data = dataprep(rowdata.df,id=id,bands=True,otwpower=True,barchart=True)
|
||||||
df = pd.read_parquet(f)
|
df = pd.read_parquet(f)
|
||||||
|
|
||||||
df = df.fillna(value=0)
|
df = df.fillna(value=0)
|
||||||
|
|||||||
Reference in New Issue
Block a user