AI Features

The "where" Function

Learn how to use the Pandas "where" function.

We'll cover the following...

Creating conditional columns

The where function can be used to update the values in a column based on some conditions. The where function evaluates the given condition and then updates the values. When the condition is True, the original values are kept the same. ...