Question: Create a dictionary with the following key-value pairs, - 'name' with 30 names - 'age' with 30 values (generate 30 random integers from 18 to

 Create a dictionary with the following key-value pairs, - 'name' with

Create a dictionary with the following key-value pairs, - 'name' with 30 names - 'age' with 30 values (generate 30 random integers from 18 to 70 ) - 'height' with 30 values (generate 30 random integers from 150 to 200) - 'weight' with 30 values (generate 30 random integers from 50 to 100 ) - 'experience' with 30 values (generate 30 random integers from 2 to 8 ) (hint: you must use numpy library to generate the numbers) - make a dataframe from a dictionary named df. - write down a statement to get columns 'name', 'weight' and 'experience' - write down statements to find the maximum, the minimum, the average, the median and the variance of column 'height'. - write down a statement to sort the values of column 'experience and make the change permanent. - write down statement to get the rows where the value of weight is greater than 77 and the value of height is a multiple of 5

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!