Tech Mahindra interview question

Change a column value at any given row in a dataframe