I have a dataframe object from pandas and I wanted to know if there is any way that I can access a specific value from a specific column and change it.
from pandas import DataFrame as df
gameboard = df([['#','#',"#"],['#','#',"#"],['#','#',"#"]], columns = [1, 2, 3], index = [1,2,3])
print(gameboard)
Like for example, I wanted to change the '#' from the second 'second' list. Or if gameboard was a 2d list how can I access gameboard[1][1]'s element.