예제 #1
0
 def read_dataframe(self, tidx=None):
     '''
     Read data frame from dataset.
     :param tidx: (*int*) Time index. Default is ``None``.
     :returns: (*DataFrame*) The DataFrame.
     '''
     if tidx is None:
         df = self.dataset.getDataInfo().readDataFrame()
     else:
         df = self.dataset.getDataInfo().readDataFrame(tidx)
     return DataFrame(dataframe=df)
예제 #2
0
 def read_dataframe(self):
     '''
     Read data frame from dataset.
     '''
     df = self.dataset.getDataInfo().readDataFrame()
     return DataFrame(dataframe=df)