Halloween Sale: Flat 70% + Addl. 25% Off + 30 Days Extra Lab on all Courses | Use Coupon HS25 in Checkout | Offer Expires In

  Enroll Now

Checking for Nulls

The first thing we must do is gather a basic sense of our data. Remember, except for the transaction amount and time columns, we don't know what the other columns are (due to privacy reasons). The only thing we know is that those columns that are unknown have been scaled already.

Let us get the statistical descriptions for each of the numerical columns in the data. We shall also check if there are any null values in our data.

Note:

  • describe() is a method used on a data frame to view the statistical description of the numerical columns in the data frame.

  • isnull() method returns True in the places where there are null values(or missing values) and False if the values are not nulls.

  • isnull().sum() displays column-wise information about the number of nulls found in each column of the data frame.

INSTRUCTIONS
  • Use the describe method on the data frame data to get the statistical description of the data.

    data.<< your code comes here >>()
    
  • Check for nulls in the data using isnull().sum().

    data.<< your code comes here >>()
    

    We observe that the data is having no nulls in any of the columns, so we don't have to work on ways to replace values.


No hints are availble for this assesment

Answer is not availble for this assesment


Note - Having trouble with the assessment engine? Follow the steps listed here

Loading comments...