In: Computer Science
Question 2
D) Which of the following seaborn functions would you use if you want to compare the variations (or standard deviations) of multiple variables?
sns.countplot()
sns.boxplot()
sns.scatterplot()
sns.barplot()
E) Which of the following seaborn functions can be used to visualize categorical variables?
sns.countplot()
sns.pieplot()
sns.scatterplot()
None of the options
F) Which of the following statements is not correct regarding the seaborn pairplot?
The pairplot automatically filters numerical values and ignore categorical variables
The pairplot uses either scatterplots or regression plots to visualize the relationships between two variables
The pairplot contains histograms diagonally
The pairplot generates barplots and piecharts
G) Which of the following statements is correct regarding plt.subplots()?
plt.subplots() is used to create multiple plots
plt.subplots(2, 2) means the graphing area will be divided into two columns and two rows
plt.subplots(2, 2) indicates there will be four graphs in total
All of the options
1) Box plot :-Box Plot is the visual representation of the portraying bunches of numerical information through their quartiles. Boxplot is additionally utilized for identify the exception in information set. It captures the rundown of the information proficiently with a straightforward box and hairs and permits us to compare effortlessly over bunches. Boxplot summarizes a test information utilizing 25th, 50th and 75th percentiles. These percentiles are moreover known as the lower quartile, middle and upper quartile.
2)Scatter plot:-The default treatment of the tone (and to a lesser degree, estimate) semantic, on the off chance that display, depends on whether the variable is deduced to speak to “numeric” or “categorical” information. In specific, numeric factors are spoken to with a consecutive colormap by default, and the legend sections appear customary “ticks” with values which will or may not exist within the information. This behavior can be controlled through different parameters, as portrayed and outlined underneath.
3)The pairplot generates barplots and piecharts:- it is incorrect because bar plot easily provide the barplot as well as piecharts.
4)ALL of option:-The two numbers contentions to this work indicate the number of columns and columns of the subplot network. The work returns a figure protest and a tuple containing tomahawks objects rise to to nrows*ncols. Each tomahawks question is open by its file. Here we make a subplot of 2 columns by 2 columns and show 4 diverse plots in each subplot.