Picking P and S- wave arrival times in python

Hi, I am trying to find the p wave and s wave arrival time using python. I tried different ways but it did not come correctly. I tried AIC, STA/LTA ,etc but it does not come right. My earthquake acceleration data is in excel file. I would be very glad if you can help me with the code.