Round time series to 1 decimal place

master
Dan Howe 5 years ago
parent 97f79bbab8
commit e169572219

@ -76,6 +76,9 @@ def parse_contents(contents, filename):
# Zero time series based on first 5s
df -= df[:5].mean()
# Round dataframe to save disk space
df = df.round(1)
ts = []
for col in df.columns:
trace = go.Scatter(x=df.index, y=df[col], name=col, opacity=0.8)

Loading…
Cancel
Save