pandas.DataFrame.reindex_axis — pandas 0.16.2 documentation (original) (raw)
labels : array-like
New labels / index to conform to. Preferably an Index object to avoid duplicating data
axis : {0, 1, ‘index’, ‘columns’}
method : {None, ‘backfill’/’bfill’, ‘pad’/’ffill’, ‘nearest’}, optional
Method to use for filling holes in reindexed DataFrame:
- default: don’t fill gaps
- pad / ffill: propagate last valid observation forward to next valid
- backfill / bfill: use next valid observation to fill gap
- nearest: use nearest valid observations to fill gap
copy : boolean, default True
Return a new object, even if the passed indexes are the same
level : int or name
Broadcast across a level, matching Index values on the passed MultiIndex level
limit : int, default None
Maximum size gap to forward or backward fill