Is your feature request related to a problem?
Since Timestamp.timestamp()
returns a float
, it seems more appropriate that NaT.timestamp()
returning nan
instead of raising an error.
And then we could implement Series.dt.timestamp()
.
API breaking implications
Seems no.