I have a pandas dataframe that is quite similar to this:-
| name | status |
|---|---|
| eric | single |
| . | 0 |
| xavier | couple |
| sarah | couple |
| . | 0 |
| aaron | divorced |
| . | 0 |
I would like to add a new row after every period as below:-
| name | status |
|---|---|
| eric | single |
| . | 0 |
| xavier | couple |
| sarah | couple |
| . | 0 |
| aaron | divorced |
| . | 0 |
Appreciate any guidance on this!