I am attempting to convert a dbf file (from an ESRI shapefile) to pandas dataframe but receive this error:
ValueError: year 0 is out of range
I am using the following code:
from simpledbf import Dbf5
faunadbf = Dbf5('Listed Fauna1.dbf')
DFfauna = faunadbf.to_dataframe()
The error appears to be due to 0000 values in the STARTDATE and ENDDATE as it is OK if I delete them however I need to keep those records. How do I convert them so that Pandas will accept 0 date values?