Read Aloud the Text Content
This audio was created by Woord's Text to Speech service by content creators from all around the world.
Text Content or SSML code:
<speak> Here we are plotting violin plot. <break strength="x-strong"/>The height is 4 and the aspect is 3.<break strength="x-strong"/> Let's run the cell, so the violin plots are the combination of box plots with kernel density.<break strength="x-strong"/> What is violin plot?<break strength="x-strong"/> Violin plots are a method of plotting numeric data, and can be considered a combination of the box plot with a kernel density plot.<break strength="x-strong"/> It's similar to the box plot. <break strength="x-strong"/>But here we can find the median a white dot on the violin plot is a median. <break strength="x-strong"/> And this is the interquartile range.<break strength="x-strong"/> The black bar in the center of the violin is the interquartile range. <break strength="x-strong"/> So here it is the first quartile.<break strength="x-strong"/> It is the median and <break strength="x-strong"/> It is the third quartile. <break strength="x-strong"/>So this is called as upper adjacent value.<break strength="x-strong"/> So here it is the upper adjacent value. <break strength="x-strong"/> And these are outside points. <break strength="x-strong"/>So here when the source is from Bangalore, the price range is between 1700 to 18000,<break strength="x-strong"/> I think.<break strength="x-strong"/> So here we don't have proper prices.<break strength="x-strong"/> The main advantage of the violin plot over the box plot is that aside from showing the above mentioned statistics.<break strength="x-strong"/> It also shows the entire distribution of data.<break strength="x-strong"/> Now let's create a box plot for Price versus Destination. <break strength="x-strong"/>So now we have created a plot for price versa source.<break strength="x-strong"/> Now, we are creating a plot Price versus Destination. <break strength="x-strong"/>So first we are taking y is price and x is destination and data train_df.sort values, price and ascending is false. <break strength="x-strong"/>And here we are creating a box plot and the height is 4 and aspect is 3. <break strength="x-strong"/> Let's run the cell.<break strength="x-strong"/> <break strength="x-strong"/> </speak>