comparing with pandas