We are using pandas to read a CSV in our python Lambda code. We have it set up so that it warns and skips bad lines instead of erroring out - this is the code for that: