CBSE Class 12 Informatics Practices
Question 32 of 101
Python Pandas — II — Question 8
Back to all questionslength()
Reason — In Pandas, the length() function is not a valid function for DataFrames. Instead, we can use the len() function to get the length of a DataFrame. The other functions listed (count(), sum(), mad()) are valid functions for performing operations on DataFrames.