Using python to process the laboratory data