Question: Using numpy / pandas: Create series from the following two dictionaries: { ' A ' : ' a ' , ' B ' : '
Using numpypandas:
Create series from the following two dictionaries:
A: aB: bC: cD: dE:e
A: B: C: D: E:
From those series create a dataframe called Q such that the first series represents the lowercase column and the second series represents the numbers column.
Index Q to add an additional column to the dataframe called percent that takes each number and divides it by the sum of all the numbers.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
