#NEWLINE# def normalize( self ) : #NEWLINE# #INDENT# '\n        Return DatetimeIndex with times to midnight. Length is unaltered\n\n        Returns\n        -------\n        normalized : DatetimeIndex\n        ' #NEWLINE# new_values = tslib . date_normalize ( self . asi8 , self . tz ) #NEWLINE# return DatetimeIndex ( new_values , freq = 'infer' , name = self . name , tz = self . tz )