>
CUET (UG)
>
Computer Science
List of top Computer Science Questions on Python Libraries asked in CUET (UG)
Which of the following is/are true statements ?
A. Python integer types cannot store NaN values
B. Python float types cannot store NaN values
C. Python integer types cannot store NaN values
D. Python float types can store NaN values
Choose the correct answer from the options given below :
CUET (UG) - 2023
CUET (UG)
Computer Science
Python Libraries
Pandas provide a function ______ to check whether any value is missing or not in the Datafrarne :
CUET (UG) - 2023
CUET (UG)
Computer Science
Python Libraries
The following five statements describe the methods used for file handling in Python. Choose an option that correctly sequences the definition of each.
(A) Method used to open a file.
(B) Method used to write the objects in a binary file.
(C) Method used to read data from a binary file.
(D) Method used to return an integer that specifies current position of the file object.
(E) Method used to position the file object at a particular position in a file.
Choose the
correct
answer from the options given below:
CUET (UG) - 2023
CUET (UG)
Computer Science
Python Libraries
In Python, when open() method is applied in ‘<a>' mode, a file is opened in append mode. If the file does not exist, then :
CUET (UG) - 2023
CUET (UG)
Computer Science
Python Libraries