The error will be different in the event of failure depending on which pandas version. I think it's okay to catch all here.