Q1) 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. Q2) Solve the system of linear equations using Python (use sympy library) 7x - 13y = 51 6x 19y 244
Q1) 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. Q2) Solve the system of linear equations using Python (use sympy library) 7x - 13y = 51 6x 19y 244
Chapter8: Arrays
Section: Chapter Questions
Problem 9PE
Related questions
Question
![Q1)
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.
Q2)
Solve the system of linear equations using Python (use sympy library)
7x - 13y = 51
6x 19y 244](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F385c6f29-1f1e-40e3-b8f8-8d3f84f564c8%2F2123e74a-2c8d-447d-9ea8-dd905012d229%2F4210nyb_processed.jpeg&w=3840&q=75)
Transcribed Image Text:Q1)
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.
Q2)
Solve the system of linear equations using Python (use sympy library)
7x - 13y = 51
6x 19y 244
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 5 steps with 4 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781337671385/9781337671385_smallCoverImage.jpg)
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781337671385/9781337671385_smallCoverImage.jpg)
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning