हिंदी

Boolean indexing in Pandas DataFrame can be used for ______. - Informatics Practices

Advertisements
Advertisements

प्रश्न

Boolean indexing in Pandas DataFrame can be used for ______.

विकल्प

  • Creating a new DataFrame.

  • Sorting data based on index labels.

  • Joining data using labels.

  • Filtering data based on condition.

MCQ
रिक्त स्थान भरें

उत्तर

Boolean indexing in Pandas DataFrame can be used for filtering data based on condition.

Explanation:

  1. Boolean indexing in Pandas facilitates the filtration of a DataFrame according to a specified criterion.
  2. It generates a mask (Boolean values) and chooses the rows or columns where the condition is True exclusively.
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2024-2025 (March) Board Sample Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×