Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Series.apply + Lambda Function¶
DataFrame.apply + Lambda Function¶
axis=1: apply the lambda function on each row
List Comprehension¶
numpy.where¶
numpy.where is vectorized ifelse.