Creating Series
A Series is a one-dimensional labeled array. It's like a single column of data with an index.
Creating a Series from a List
Loading Pandas Playground...
Custom Index Labels
You can provide custom labels for your Series index:
Loading Pandas Playground...
Creating Series from a Dictionary
Dictionaries automatically become labeled Series:
Loading Pandas Playground...
Series Operations
Series support vectorized operations:
Loading Pandas Playground...
Exercise: Temperature Series
Loading Exercise...
Exercise: Series Math
Loading Exercise...
Key Points
- Series is a 1D labeled array
- Create from lists with
pd.Series([...]) - Add custom labels with
index=parameter - Dictionaries automatically map keys to index
- Series support vectorized math operations

