Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
FObersteiner
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
1.
▲
by
FObersteiner
2y ago
I guess we still like solar time a lot ;-) The point is, for date/time calculations, you need a numeric representation that increases strictly monotonically (an epoch time). If you introduce unpredictable modifications to that (leap se
2.
▲
by
FObersteiner
3y ago
I think naive datetime would be fine, even if it resembles UTC - as long as you don't mix in a serial representation. The module documentation says, "Whether a naive object represents Coordinated Universal Time (UTC), local time,
3.
▲
by
FObersteiner
3y ago
No, I think pandas actually abstracts away pytz's footguns, so that's a good thing.
4.
▲
by
FObersteiner
3y ago
> pd.Timestamp is built on top of many awesome libraries ... pytz for example ;-)