Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

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

Students also viewed these Databases questions

Question

2. Identify the purpose of your speech

Answered: 1 week ago