Given a date like 8300 BCE, I run pd.to_datetime("-8300", format="%y")
.
This produces ValueError: time data '-8300' does not match format '%y' (match)
.
Is there a way to handle "negative" dates in Pandas?
Yes,
I hope this answer helps.
There is a procedure given in documentation for Julian dates, you can find that here. Focus on unit
& origin
arguments