5.5. Series Attributes

import pandas as pd

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

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

5.5.1. Shape

s.shape
# (3,)

5.5.2. Size

s.size
# 3

5.5.3. Number of Dimensions

s.ndim
# 1

5.5.4. Index

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

5.5.5. Values

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

5.5.6. Assignments

Todo

Create assignments