CBSE Class 12 Informatics Practices Question 104 of 167

Python Pandas — I — Question 15

Back to all questions
15
Question

Question 15

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

Answer

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

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