Fixing pandas goof