using pandas python to combine logs