Handling null values
Let's practice handling null values with our laptops
dataset that we worked with previously. You will identify rows with null values, and then try out several techniques to address this problem.
Remember that the laptops
data and the pandas
package have been imported for you already.
This exercise is part of the course
Practicing Statistics Interview Questions in Python
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Identify and print the the rows with null values
nulls = laptops[____]
print(____)