Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assignment 3 : Mouse vs Human Cell types This assignment will test your ability to pull data from the Allen Cell Types dataset and perform

Assignment 3: Mouse vs Human Cell types
This assignment will test your ability to pull data from the Allen Cell Types dataset and perform some preliminary plotting with the data.
This assignment is worth 20 points.
PLEASE DO NOT CHANGE THE NAME OF THIS FILE.
PLEASE DO NOT COPY & PASTE OR DELETE CELLS INCLUDED IN THE ASSIGNMENT.
How to complete assignments
Whenever you see:
# YOUR CODE HERE
raise NotImplementedError()
You need to replace (meaning, delete) these lines of code with code that answers the questions and meets the specified criteria. Make sure you remove the 'raise' line when you do this (or your notebook will raise an error, regardless of any other code, and thus fail the grading tests).
You should write the answer to the questions in those cells (the ones with # YOUR CODE HERE), but you can also add extra cells to explore / investigate things if you need / want to.
Any cell with assert statements in it is a test cell. You should not try to change or delete these cells. Note that there might be more than one assert that tests a particular question.
If a test does fail, reading the error that is printed out should let you know which test failed, which may be useful for fixing it.
Note that some cells, including the test cells, may be read only, which means they won't let you edit them. If you cannot edit a cell - that is normal, and you shouldn't need to edit that cell.
Tips & Tricks
The following are a couple tips & tricks that may help you if you get stuck on anything.
Printing Variables
You can (and should) print and check variables as you go. This allows you to check what values they hold, and fix things if anything unexpected happens.
Restarting the Kernel
If you run cells out of order, you can end up overwriting things in your namespace.
If things seem to go weird, a good first step is to restart the kernel, which you can do from the kernel menu above.
Even if everything seems to be working, it's a nice check to 'Restart & Run All', to make sure everything runs properly in order.
Part I: Create dataframes from the cell types data
Q1
In the cells below, create two Pandas dataframes that contain the cell types metadata for mouse and human cells. Name your dataframes mouse_df and human_df respectively. (Worth 1 pt)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Visual C# And Databases

Authors: Philip Conrod, Lou Tylee

16th Edition

1951077083, 978-1951077082

More Books

Students also viewed these Databases questions