Learn/Data Science/Healthcare
BeginnerHealthcarePYTHON+20 XP

Meet a tiny table

Scenario

You are a data scientist. The clinic has a tiny table. Each row is one patient visit. Each column tells us one thing about that visit.

Question

Show the first rows so we can look at the table before doing any calculations.

Beginner · Data Filtering & Record Counting — question 2 of 30

Finish all 30 to earn a certificate

1. Choose your dataset

Pick an industry and a size. Your code and results change to match.

📓 DataPro notebookds-health-00b.ipynbFileEditViewRunKernel: Python 3
[md]

Meet a tiny table

Show the first rows so we can look at the table before doing any calculations.

In [1]:

Your code cell is below. Press Check my answer to run the cell — the result appears as Out [1].

python editor
Type your code here ↓
✍️ Tap here to type

Dataset & schema

clinic_visits

The tiny starter data. Bigger data scrolls.

Fields

patient_idagewait_minutes
P-01812
P-024235
P-036718

patient_id, age and wait_minutes are columns. Each horizontal line is a row.

attempts: 0
▶ Output terminal
$ Press “Check my answer” — results appear here.

Your next steps

Each item turns green when your answer includes it.

3 left
  • Opens the table tool
  • Reads the clinic table
  • Shows the first rows