15 from dateutil
import parser
16 from datetime
import tzinfo, timedelta, datetime
25 infile = open(fdbdir +
"/" + odb_file,
"r") 26 nbCols = int(infile.readline()) 28 for i
in range(0, nbCols):
29 columns.append(infile.readline().strip())
30 nbRows = int(infile.readline())
31 for i
in range(0, nbRows):
33 col = infile.readline().split();
34 row[
"stringdate"] = col[1]
35 d = parser.parse(col[1])
36 row[
"date"] = d - timedelta(minutes=1)
38 for j
in range(0, nbCols) :
39 row[columns[j]] = col[j + 3]
40 self.
datas.append(row)
61 x.append(float(o[
"x"]))
72 date = parser.parse(stringdate)
def getXYAt(self, date, colName)
def getAt(self, stringdate)
def __init__(self, fdbdir, odb_file)