3 ms·
> What is the logarithm of an hour? Well, depends. If you try to pass a datetime.time object to the math.log function, you get TypeError: a float is require
by anon4 13y ago
> What is the logarithm of an hour?
Well, depends. If you try to pass a datetime.time object to the math.log function, you get
TypeError: a float is required
On the other hand, if you store your hour as a number, then it works just fine. It's still not meaningful, mind.