GalaxyHunters / Evolution-Machine-Satellite-Galaxies

Creating a Machine-Learning Model for Prediction of Satellite Galaxy Evolution
0 stars 0 forks source link

shape calculation - if already ran on that satellite #3

Closed tussbaum closed 5 years ago

Beilinson commented 5 years ago

added variable: sgal_shape_df['calculated']=np.full(len(sgal_shape_df), False, dtype=bool)

In beginning of loop: if sgal_shape_df.iloc[i]['calculated']==True: i+=1 continue

at end of loop(if it got through the first if statement): sgal_shape_df.loc[index,['calculated']]=True

tussbaum commented 5 years ago

Great! Move the relevant issue in the