Question: 1 PandasA 3 - FOR CREDIT Create a . ipynb file called PandasA 3 credit.ipynb and complete the following. For this assignment load but DO
PandasA FOR CREDIT
Create a ipynb file called PandasAcredit.ipynb and complete the following.
For this assignment load but DO NOT INSTALL NumPy and Pandas: run the following at
the top of your script and then complete the questions:
import numpy as np
import pandas as pd
Assume all arrays are NumPy arrays, all Series are Pandas series, etc., unless
otherwise specified
Everything is case sensitive so BE CAREFUL
After you create the object eg Q DO NOT PRINT! Your file should something look
like this:
QHello
Q x:
Before attempting these make sure to watch CodeGrade
Walkthrough in module if you do not you will not
understand how assignments work!
For reference:
CodeGrade tips and FAQ
CodeGrade What to do if my code doesnt work?
Create series from the following two dictionaries:
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 that dataframe to obtain the following:
Assign it to Q
Slice the dataframe to obtain the following:
Assign it to Q
Using loc, obtain the following from q:
Assign it to Q
Using loc, obtain the following from q:
Assign it to Q
Using loc, obtain the following from q:
Assign it to Q
Using loc, obtain the following from q:
Assign it to Q
Using loc, obtain the following from q:
Assign it to Q
Using loc, obtain the following from q:
Assign it to Q
Using loc, obtain the rows from q with numbers less than three. Assign it to
Q
Using iloc, obtain the following from q:
Assign it to Q
Using iloc, obtain the following from q:
Assign it to Q
Using iloc, obtain the following from q:
Assign it to Q
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
