Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q 3 b: describe pandas also has a very helfpul describe method which will provide some helpful summary statistics about your dataframe. Use the describe

Q3b: describe pandas also has a very helfpul describe method which will provide some helpful summary statistics about your dataframe. Use the describe method to calculate and display these summary statistics (You do not have to store the output): # YOUR CODE HERE # Use the describe method to calculate and display summary statistics df.describe()Generate a histogram of the winpercent column with 15 bins. # Generate a histogram of the 'winpercent' column with 15 bins f1= df['winpercent'].hist(bins=15) # Check if the histogram has data and has 15 bins assert f1.has_data() assert len(f1.patches)==15 f1= plt.gcf()Using the output you just generated in Q3b and Q3c, answer the following questions, storing the answer in the variable at the front of each question. (For example, if you thought the answer to the first question was A, you would include win_perc ='A' in the cell below.) win_perc : What is the highest overall win percentage among the candy included in this dataset? A)1.00 B)98.8 C)85.00 D)84.18 E) Unable to determine fruity : What proportion of the dataset is comprised of fruity candy? A)0 B)0.45 C)0.50 D)85 E) Unable to determine

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advanced MySQL 8 Discover The Full Potential Of MySQL And Ensure High Performance Of Your Database

Authors: Eric Vanier ,Birju Shah ,Tejaswi Malepati

1st Edition

1788834445, 978-1788834445

More Books

Students also viewed these Databases questions

Question

9. System creates a large, diverse talent pool.

Answered: 1 week ago