Question 151Asked in DSSSB TGT Computer Science, 7 Feb 2024, Shift 2 (12:30 PM)

If you encounter an import Error, what does it mean? I. Python could find pandas in list of available libraries

If you encounter an import Error, what does it mean? I. Python could find pandas in list of available libraries II. Pandas couldn’t find python in list of available libraries III. Python couldn’t find Pandas in list of available libraries
  1. AOnly III
  2. BI, II and III
  3. COnly I
  4. DOnly I and III
Show answerHide answer

Correct answer: (A) Only III

Explanation

An ImportError (here ModuleNotFoundError) means Python could not find the pandas module among installed libraries, so only III is correct.

From DSSSB TGT Computer Science PYQ, 7 Feb 2024, Shift 2 (12:30 PM)

This is question 151 of DSSSB TGT Computer Science PYQ, 7 Feb 2024, Shift 2 (12:30 PM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.