sns.distplot(sample_df["baths"]) plt.show()
Here is what the above code is Doing:
1. We’re creating a new dataframe called sample_df that contains the first 1000 rows of our original dataframe.
2. We’re plotting a histogram of the “baths” column in our sample dataframe.
The plot shows us that most of the houses in our sample have 1 or 2 bathrooms.