I have a dataframe:
First name Last name Height weight unit
0 Merna Imel 185 89 kg
1 Taren Kuehn 189 123 lbs
2 Ginette Schutte 199 67 kg
3 Natasha Kibble 180 121 lbs
4 Lucrecia Berube 191 68 kg
5 Twana Bonebrake 156 138 lbs
6 Eugena Felberbaum 165 73 kg
7 Gussie Eddington 169 114 lbs
8 Siobhan Krupp 150 56 kg
9 Delcie Jiron 150 110 lbs
10 Allena Sandusky 166 87 kg
11 Dylan Verrill 166 174 lbs
12 Ambrose Pasillas 186 85 kg
13 Nannette Lehrer 195 207 lbs
14 Jenifer Mcgarrah 167 94 kg
15 Tarsha Jarnigan 162 189 lbs
16 Helen Macgregor 188 101 kg
17 Kara Belfiore 179 167 lbs
18 Harvey Quesinberry 168 74 kg
What I want is to change it. So I need for all unit who has "lbs" to change the "weight" to kg by a function "lbs/2.2046". then delete the height column and instead create a new column BMI where the BMI is calculated using the formula "weight/height^2".
Please help