What will the following code result in? import pandas as pd pd.Series([10,…

PYQ EMRS TGT/PGT (ESSE) 2023

What will the following code result in?
import pandas as pd pd.Series([10, 20], index=['A', 'B', 'C'])

  1. A.

    ValueError

  2. B.

    NameError

  3. C.

    IndexError

  4. D.

    SyntaxError

Attempted by 1391 students.

Sign up free to check your answer

Sign up free

Explore the full course: Emrs Cs Tier 2

Loading lesson…