CBSE Class 12 Informatics Practices Question 37 of 70

Importing/Exporting Data between CSV Files/MySQL and Pandas — Question 2

Back to all questions
2
Question

Question 2

The number of rows in a DataFrame are by default equal to number of rows in a CSV file, it created from a CSV file.

Answer

True

Reason — When we create a DataFrame from a CSV file using pandas, by default, the number of rows in the DataFrame will be equal to the number of rows in the CSV file.