Informatics Practices

Write statement(s) to change the values to 750 at 4th row to 9th row, 7th column in a DataFrame df.

Python Pandas

6 Likes

Answer

The statement to change the value to 750 at 4th row to 9th row, 7th column in a DataFrame df is:

df.iloc[3:9, 6] = 750.

Answered By

4 Likes


Related Questions