Thursday, January 22, 2026

Create a Python Series Object with the Sequence – a,b,c,d

import pandas as pd

data = ['a', 'b', 'c', 'd']

s = pd.Series(data)

print(s)


Output : 

0    a
1    b
2    c
3    d
dtype: object

No comments:

Post a Comment

IP CBSE Sample Papers

  IP CBSE Sample Paper 2025 ~ Solution IP CBSE Sample Paper 2024 ~ Solution IP CBSE Sample Paper 2023 ~ Solution IP CBSE Sample Paper 202...