How can I have two conditional and two output in a single lambda? : I would like to filter variables below two standard deviations and those above to standarf deviations. I know I can do this with def/ return and then apply statement but was wondering if I could somehow do this in a single line with lambda. 

I have tried the code below (the numbers in 'No- show' are all int and were the base from which I calculated the median, upper, and lower two standard deviations):

```df2F['outlier_neighbourhood']=df2F['No-show'].apply(lambda x: 'Lower Outlier' if x <0.6091564238171008 elif 'Upper Outlier' else 'normal')```

I get: 

 File "<ipython-input-99-551ef7a6f734>", line 2
    df2F['outlier_neighbourhood']=df2F['No-show'].apply(lambda x: 'Lower Outlier' if x <0.6091564238171008 elif 'Upper Outlier' else 'normal')
                                                                                                              ^
SyntaxError: invalid syntax