how to replace both the diagonals of dataframe with 0 in pandas

Solutions on MaxInterview for how to replace both the diagonals of dataframe with 0 in pandas by the best coders in the world