Revert to pre-pandas changes