मराठी

Which of the following Python statements will be used to select a specific element having index as points, from a Pandas Series named ser? - Informatics Practices

Advertisements
Advertisements

प्रश्न

Which of the following Python statements will be used to select a specific element having index as points, from a Pandas Series named ser?

पर्याय

  • ser.element (points)

  • ser.select (points)

  • ser[points]

  • ser.show[points]

MCQ
Advertisements

उत्तर

ser[points]

Explanation:

In Pandas, a particular element in a Series can be accessed using its index with bracket notation: series_name[index_name].

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2024-2025 (March) Set 4
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×