Exemple #1
0
 def _to_frame(self, usecols, chunk_cnt, show_prog):
     _c = Property()
     _c.lineno = 0
     _c.linecnt = get_line_count(self.abspath)
     _c.show_prog = show_prog
     _c.chunk_cnt = chunk_cnt
     return pd.concat(self._to_frame_gen(_c, usecols))
Exemple #2
0
 def _to_frame_prop(self, title, show_prog=True):
     c = Property()
     c.fileno = 0
     c.filecnt = len(self.files)
     c.files = self.files
     c.show_prog = show_prog
     c.pg = ProgressBar(title, c.filecnt)
     return c