ENH: evaluate datetime ops in python with eval
TST: test nondate vs. date comparisons in query