Pandas DataFrames - Answer Key

Authors

Noor Sohail

Will Gammerdinger

Published

March 15, 2026

Exercise 1

  1. Print the last 6 lines of the metadata data frame using tail() function.
metadata.tail()
genotype celltype replicate
sample8 Wt typeB 2
sample9 Wt typeB 3
sample10 KO typeB 1
sample11 KO typeB 2
sample12 KO typeB 3
  1. A followup question to question #1

Exercise 2

  1. A question to evaluate Learning Objective 2

  2. A followup question to question #1

Exercise 3

  1. A question to evaluate Learning Objective 3

  2. A followup question to question #1

Reuse

CC-BY-4.0