I want to add rows in Python based on the information in some of the columns. For example let's say this is my data
df = pd.DataFrame({
'ID':[1,2,3],
'E Test':['Y','Y','N'],
'M Test':['Y','Y','Y'],
})
For the row with ID equal to 1, I'd like to add a column that says if the column labeled "E Test" equals "Y" then new column "Test Date" equals "April 1". I'd like to do the same for the "M Test" but with a different date and add a completely new row for the ID equal to 1. Therefore there would be 2 rows that have the ID equal to 1 and with different "Test Date" numbers.
Here is what it would look like ideally:

