pandas 0.7.3 documentation

pandas.Series.align

Series.align(other, join='outer', level=None, copy=True, fill_value=None, method=None)

Align two Series object with the specified join method

Parameters :

other : Series

join : {‘outer’, ‘inner’, ‘left’, ‘right’}, default ‘outer’

level : int or name

Broadcast across a level, matching Index values on the passed MultiIndex level

copy : boolean, default True

Always return new objects. If copy=False and no reindexing is required, the same object will be returned (for better performance)

fill_value : object, default None

method : str, default ‘pad’

Returns :

(left, right) : (Series, Series)

Aligned Series