Informatics Practices

Write statement(s) to change the value at 5th row, 6th column in a DataFrame df.

Python Pandas

6 Likes

Answer

The statement to change the value at 5th row, 6th column in a DataFrame df is:

df.iat[5, 6] = <new value>.

Answered By

2 Likes


Related Questions