I'm working with Titanic data set and wanted to fill age's na values according to tittles that i get using the names. I want to fill that age value which is in the group(miss, mrs, mr)'s own age mean
| age | Tittle_Mr | Tittle_Miss | Tittle_Mrs |
|---|---|---|---|
| 22 | 1 | 0 | 0 |
| 38 | 0 | 1 | 0 |
| 26 | 0 | 0 | 1 |
| 35 | 1 | 0 | 0 |
| NaN | 1 | 0 | 0 |
I want that na to be Tittle_Mr's age's mean.
In this case 57/2 ~ 28
