...

/

Quiz: String Manipulation, Date-Time Manipulation, and DT Indexing

Quiz: String Manipulation, Date-Time Manipulation, and DT Indexing

Quiz yourself on string manipulation, date-time manipulation, and DT indexing.

We'll cover the following...
Technical Quiz
1.

Suppose we have a Series S of type object. Which method can be used to change the type to string?

A.

(string)S

B.

S.astype('string')

C.

S.type = 'string'

D.

Type conversion is not allowed in pandas.


1 / 5
...