Enrollments closing soon for Post Graduate Certificate Program in Applied Data Science & AI By IIT Roorkee | 3 Seats Left
Apply NowLogin using Social Account
     Continue with GoogleLogin using your credentials
Now, let's plot the histogram for numerical attributes of our dataset. We can do that by using the hist()
method of the DataFrame object.
It has 2 important attributes-
Its syntax is the same as other DataFrame methods we used before.
You can refer to hist() documentation for further details.
Run the hist()
method for our dataset. Specify it's parameters figsize as (15,10) and bins as 50.
Taking you to the next exercise in seconds...
Want to create exercises like this yourself? Click here.
Loading comments...