I am reading a feature class into a pandas dataframe using:
df = DataFrame( arcpy.da.FeatureClassToNumPyArray( in_table=feature_class, field_names=field_list, skip_nulls=False, null_value=np.NaN ) )
feature_class is the name of the feature class and
field_list is the list of fields to include.
skip_nulls=False ensures the floats are converted to
np.NAN and setting
null_value=np.NAN does the same for integers. However, one of the columns has a date type, which causes the following error:
ValueError: year 0 is out of range
Is there any way to set a specific default for the date type?