I have a data frame
yr= pd.DataFrame({"age":["(young 17 yrs)","(young 19 yrs)","(old)","(young 25 yrs)",&qu