English

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

Advertisements
Advertisements

Question

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

Options

  • String

  • List

  • Numeric

  • Boolean

MCQ
Advertisements

Solution

Numeric

Explanation:

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

shaalaa.com
  Is there an error in this question or solution?
2024-2025 (March) Set 4
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×