Right, which is not the definition of a scalar.
If expressing a pandas.Timedelta is ever not well-defined, then we still have the issue of mathematical expressing returning nonsense.
-
-
But if that such expression returns nonsense and the math is good, we now have an issue with errors that don't bubble up.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
python has no way of knowing whether it's well-defined, since it doesn't know where the timedelta came from
-
and if it's not well-defined then renaming the same operation .to_hours() doesn't really help
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
