Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #save
- cols = auto_ML_plot.columns
- auto_ML_plot = auto_ML_plot[cols[1:]]
- auto_ML_plot.columns = ['MD', output+'_CORR_machine']
- auto_ML_plot.reset_index(drop=True, inplace = True)#well_data
- well_data.reset_index(drop=True, inplace = True)
- data_to_save = pd.concat([well_data[['MD', output, 'DS']], auto_ML_plot[[output+'_CORR_machine']]], axis =1).dropna()
- data_to_save.to_excel('well_'+str(well)+'_'+output+'.xlsx')
Add Comment
Please, Sign In to add comment