Creating conditional columns on Pandas with Numpy select() and where() methods

Some of the most useful Pandas tricks

B. Chen
Towards Data Science
5 min readOct 16, 2020

--

Photo by Pascal Bernardon on Unsplash

Pandas is an amazing library that contains extensive built-in functions for manipulating data. Although the built-in functions are capable of performing efficient data analysis, incorporating methods from other library adds value to Pandas.

--

--