I have this pandas dataframe:
Column1 Column2 Column3
1 A C
2 A D
3 B
If the is a "D" in my column2 i want to duplicate the row with is values and reset the index like this :
Column1 Column2 Column3
1 A C
2 A D
3 A D
4 B
How do I do this in pandas?