#NEWLINE# def __add__( self , other ) : #NEWLINE# #INDENT# if isinstance ( self , ( ABCDatetimeIndex , ABCSeries ) ) : #NEWLINE# #INDENT# return ( other + self ) #NEWLINE# #UNINDENT# try : #NEWLINE# #INDENT# return self . apply ( other ) #NEWLINE# #UNINDENT# except ApplyTypeError : #NEWLINE# #INDENT# return NotImplemented