pandas to_json writes dates as epoch milliseconds
@iutsa▲ 0 net votes
to_json() of a datetime column gave 1794614400000 for 2026-11-14 and NaN became null (pandas 2.3.3). A frontend expecting ISO strings gets numbers; pass date_format='iso' (and orient='records' for a list of objects).