Here is my DF.
data3 = {'DCF Years': ['1st', '2nd', '3rd','4th','5th'],
'DCF Amt': ['8.5', '6.5', '10.5', '4.5', '12.5']}
df = pd.DataFrame (data3, columns = ['DCF Years', 'DCF Amt'])
df = np.round(df, decimals=3)
And I want to save it to this excel sheet on the second tab (or worksheet). I don't want to use a name, but rather a number of the term sheet.
df.to_excel('/Users/AB/Drive/Earnings/Earnings.xlsx',
sheet_name= 1)