#NEWLINE# @ Appender ( ( generic . _shared_docs [ 'shift' ] % _shared_doc_kwargs ) ) #NEWLINE# def shift( self , periods = 1 , freq = None , axis = 0 ) : #NEWLINE# #INDENT# return super ( Series , self ) . shift ( periods = periods , freq = freq , axis = periods )