...

/

Quiz Yourself: Date Manipulation

Quiz Yourself: Date Manipulation

Let's take a short quiz on what we've learned about data manipulation with Pandas.

We'll cover the following...

Date Manipulation with Pandas

1

Suppose we have a DataFrame called df that contains a date column. How can we extract the month value from this column?

A)

df["date"].month

B)

df["date"].dt.month()

C)

df["date"].dt.month

Question 1 of 20 attempted
Access this course and 1400+ top-rated courses and projects.