हिंदी

What is a Series in Python Pandas? Also, give a suitable example to support your answer. - Informatics Practices

Advertisements
Advertisements

प्रश्न

What is a Series in Python Pandas? Also, give a suitable example to support your answer. 

संक्षेप में उत्तर

उत्तर

A Series is a one-dimensional array containing a sequence of values of any data type (int, float, list, string, etc) which by default have numeric data labels starting from zero. We can imagine a Pandas Series as a column in a spreadsheet. An example of a series containing the names of students is given below: 

Index Value
0 Arnab
1 Samridhi
2 Ramit
3 Divyam
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2024-2025 (March) Board Sample Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×