Python Pandas Error Handling In Node