

def parseRow(self, csvRowDict):
    dateTime = datetime.datetime.strptime(csvRowDict[self.__dateTimeColumn], self.__dateTimeFormat)
    if (self.__timezone is not None):
        if (self.__timeDelta is not None):
            dateTime += self.__timeDelta
        dateTime = dt.localize(dateTime, self.__timezone)
    values = {
        
    }
    for (key, value) in csvRowDict.items():
        if (key != self.__dateTimeColumn):
            values[key] = self.__converter(key, value)
    return (dateTime, values)

dataset/ETHPy150Open gbeced/pyalgotrade/pyalgotrade/feed/csvfeed.py BasicRowParser.parseRow/original