i want to add a new row when the iteration reach the raw which has 'total charges'. FYI: as shown in code, column number 1 is where it has to be performed.
python
for row in df.itertuples():
row[1] == 'Total Charges'
i want to add a new row when the iteration reach the raw which has 'total charges'. FYI: as shown in code, column number 1 is where it has to be performed.
python
for row in df.itertuples():
row[1] == 'Total Charges'