5.5. Series Attributes

import pandas as pd

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

5.5.1. Shape

s.shape
# (3,)

5.5.2. Number of Dimensions

s.ndim
# 1

5.5.3. Index

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

5.5.4. Values

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

5.5.5. Assignments

Todo

Create assignments