Question: Problem 1. Constructing pandas objects (20 points) In this problem, you will create two simple pandas objects. a. Create a pandas Series object with indices

Problem 1. Constructing pandas objects (20 points) In this problem, you will create two simple pandas objects. a. Create a pandas Series object with indices given by the first 10 letters of the English alphabet and values given by the first 10 primes. 10 points. b. Below is a table that might arise in a genetics experiment. Reconstruct this as a pandas DataFrame. 10 points. score1 score2 animal parent1 parent2 A goat 1 2 a 2 A 3 bird A 5 6 6 8 8 A 7 a 8 10 llama A 9 10 a 10 12 11 12 12 14
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
