Find the output of the following Python code: import pandas as pd…

PYQ KVS TGT/PGT 2023Modified — slightly modified from the official paper; see the solution

Find the output of the following Python code: import pandas as pd M=pd.Series({'P':10, 'Q':90}) print(M)

  1. A.

    P Q

    10 90

  2. B.

    P 10

    Q 90

  3. C.

    0 P 10

    1 Q 90

  4. D.

    10 P

    90 Q

Attempted by 386 students.

Sign up free to check your answer

Sign up free

Explore the full course: Kvs Nvs Tier 2 Computer Science

Loading lesson…