python coding (Pandas: Series) Perform the following tasks with pandas Series: a) Create a Series from the list [7,11,13,17].

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter6: Arrays
Section: Chapter Questions
Problem 5GZ
icon
Related questions
Question

python coding

(Pandas: Series) Perform the following tasks with pandas Series:

a) Create a Series from the list [7,11,13,17].

b) Create a Series with five elements that are all 100.0.

c) Create a Series with 20 elements that are all random numbers in the range 0 to100. Use method describe to produce the Series’ basic descriptive statistics.

d) Create a Series called temperatures of the floating-point values 98.6, 98.9,100.2 and 97.9. Using the index keyword argument, specify the custom indi-ces 'Julie', 'Charlie', 'Sam' and 'Andrea'.

e) Form a dictionary from the names and values in Part (d), then use it to initializea Series.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Array
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage