हिंदी

What is the default index type for a Pandas Series if not explicitly specified? - Informatics Practices

Advertisements
Advertisements

प्रश्न

What is the default index type for a Pandas Series if not explicitly specified?

विकल्प

  • String

  • List

  • Numeric

  • Boolean

MCQ
Advertisements

उत्तर

Numeric

Explanation:

In Pandas, when no index is explicitly defined, a Series automatically uses a numeric (integer) index beginning from 0.

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2024-2025 (March) Set 4
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×