Ejemplo n.º 1
0
 def fpath_changed(self,new):
     print "Reading",new
     #### 
     ### FIX ME: nrows = 1000 for develepment
     ####
     self.df = d.read_div_data(new,nrows=35000)
     self.add_status("Done loading new file.")
     self.checklist_c=['1']
Ejemplo n.º 2
0
 def fpath_changed(self, new):
     print "Reading", new
     ####
     ### FIX ME: nrows = 1000 for develepment
     ####
     self.df = d.read_div_data(new, nrows=35000)
     self.add_status("Done loading new file.")
     self.checklist_c = ['1']
Ejemplo n.º 3
0
def prep_data(fname):
    df = div.read_div_data(fname)
    fix_columns(df)
    df.set_index('jdate', inplace=True)
    return df
Ejemplo n.º 4
0
def prep_data(fname):
    df = read_div_data(fname)
    fix_columns(df)
    df.set_index(make_date_index(df),inplace=True)
    return df
Ejemplo n.º 5
0
def prep_data(fname):
    df = div.read_div_data(fname)
    fix_columns(df)
    df.set_index('jdate', inplace=True)
    return df