KnowledgeBoat Logo
|

Informatics Practices

To create an empty Series object, you can use :

  1. pd.Series(empty)
  2. pd.Series(np.NaN)
  3. pd.Series( )
  4. all of these

Python Pandas

5 Likes

Answer

pd.Series()

Reason — To create an empty Series object i.e., having no values, we can just use the Series() as: <Series Object> = pandas.Series().

Answered By

4 Likes


Related Questions