pandas 0.7.0 documentation

pandas.Series.align

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

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)

Returns :

(left, right) : (Series, Series)

Aligned Series