Course Content
Advanced Techniques in pandas
1. Get Familiar With Indexing and Selecting Data
2. Dealing With Conditions
Advanced Techniques in pandas
Combine Your Knowledge
If you remember, several chapters ago you were provided with information on how to write several conditions simultaneously. With the .isin()
statement, you can use the same rules. For instance, an example from the previous chapter could look like this:
The output in these two cases will be the same.
Everything was clear?
Section 3. Chapter 2