extract a part of values from a column,df.Results.str.extract('passed ([0-9]+)').fillna(0)