CBSE Class 12 Informatics Practices
Question 1 of 70
Importing/Exporting Data between CSV Files/MySQL and Pandas — Question 1
Back to all questions 1
Question Assertion. Python Panda library offers functionality to interact with a CSV file.
Reason. Panda's read_csv() and to_csv() functions can read-from and write-to CSV files.
- Both A and R are true and R is the correct explanation of A.
- Both A and R are true but R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.
Both A and R are true and R is the correct explanation of A.
Explanation
Python's Pandas library offers functionality to interact with a CSV file. It provides two functions, read_csv() and to_csv(), which are used for reading data from a CSV file into a DataFrame and writing data from a DataFrame to a CSV file, respectively.