3.2. Series Attributes

import pandas as pd

s = pd.Series(['a', 'b', 'c'])

s
# 0    a
# 1    b
# 2    c
# dtype: object

3.2.1. Shape

s.shape
# (3,)

3.2.2. Size

s.size
# 3

3.2.3. Number of Dimensions

s.ndim
# 1

3.2.4. Index

s.index
# RangeIndex(start=0, stop=3, step=1)

3.2.5. Values

s.values
# array(['a', 'b', 'c'], dtype=object)

3.2.6. Assignments

Todo

Create assignments