Project 2: Page Views Series
Data Analyst
Builds on these lessons
Current Task
Objective
A Series is a single labeled column; a DataFrame is a table made of aligned Series sharing one index.
Task: create a Series of page view counts named 'views' and print it along with its type.
index.py
import pandas as pd
views = pd.Series([120, 340, 90], name='views')
print(views)
print(type(views))
* Hint: Correct characters turn green, incorrect ones turn red.
Live Preview
🖼️
Verify your code to see the preview