well lets try some dates
This commit is contained in:
parent
da7c4b9456
commit
4ab43e5ffe
2 changed files with 3 additions and 3 deletions
|
@ -1,10 +1,10 @@
|
||||||
BEGIN{
|
BEGIN{
|
||||||
date=strftime("%F",0);
|
date=strftime("%F",172800);
|
||||||
count=1;
|
count=1;
|
||||||
sum=0;
|
sum=0;
|
||||||
most=0;
|
most=0;
|
||||||
least=0
|
least=0
|
||||||
print date ",AVG,LEAST,MAX"
|
print "1970-01-01,AVG,LEAST,MAX"
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
|
@ -30,7 +30,7 @@ rolling = 7
|
||||||
|
|
||||||
tree = {}
|
tree = {}
|
||||||
|
|
||||||
df = pandas.read_csv("hotspot-new.csv")
|
df = pandas.read_csv("/var/www/html/csv-reports/hotspot/hotspotdata-all.csv")
|
||||||
|
|
||||||
dates = df['1970-01-01']
|
dates = df['1970-01-01']
|
||||||
AVG = pandas.rolling_mean(df['AVG'],rolling)
|
AVG = pandas.rolling_mean(df['AVG'],rolling)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue