Session Ready
Exercise

Finding Null values

In the previous exercise, you have observed how the two NULL data types None and the numpy not a number object np.nan behave with respect to arithmetic and logical operations. In this exercise, you'll further understand their behavior by comparing the two types. The numpy package has already been imported as np.

Instructions 1/4
undefined XP
  • 1
    • Compare two None using == and print the output.
    • 2
      • Compare two np.nan using == and print the output.
    • 3
      • Print whether None is not a number.
    • 4
      • Print whether np.nan is not a number.