Final Quiz

This quiz will make sure you've covered the necessary knowledge of the date manipulation functionality in Pandas.

We'll cover the following...

Final date manipulation quiz

1.

Assuming date is a column of type datetime , how can you access the year information?

A.

df['date'].year

B.

df['date'].date.year

C.

df['date'].dt.year


1 / 3

Hopefully, you got the ...