pandas 0.7.0 documentation

pandas.DataFrame.reindex_like

DataFrame.reindex_like(other, method=None, copy=True)

Reindex DataFrame to match indices of another DataFrame, optionally with filling logic

Parameters :

other : DataFrame

method : string or None

copy : boolean, default True

Returns :

reindexed : DataFrame

Notes

Like calling s.reindex(index=other.index, columns=other.columns,
method=...)