Filtering Question #1
Consider the following Data Frame called users_df:
| ID | Name | Age | State |
|---|---|---|---|
| 140 | George L | 47 | Iowa |
| 3260 | Mary R | 34 | Vermont |
| 18502 | null | 68 | Ohio |
| 999 | Rick W | 23 | California |
If you wanted to return only the entries without nulls, which of following options would not work?
This exercise is part of the course
Cleaning Data with PySpark
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise