#NEWLINE# def test_pandas_dataframe_index_is_datetime( self ) : #NEWLINE# #INDENT# results = Data . all ( params = { #NEWLINE# #INDENT# 'database_code' : 'NSE' , #NEWLINE# 'dataset_code' : 'OIL' , #NEWLINE# #UNINDENT# } ) #NEWLINE# df = results . to_pandas ( ) #NEWLINE# self . assertEqual ( df . index . name , 'Date' ) #NEWLINE# self . assertIsInstance ( df . index , pandas . DatetimeIndex )