0
如何在計數中進行表達?例如:按日期計算>日期
# equivalence
l = [1,2,2,3,4]
l.count(2)
2
# greater than date
l = [datetime.datetime(2014, 1, 1, 0, 0), datetime.datetime(2015, 1, 1, 0, 0)]
l.count('date is greater than '2014-02-01')
1