I need to convert a diagonal Dataframe to 1 row Dataframe. Input:
df = pd.DataFrame([[7, 0, 0, 0], [0, 2, 0, 0], [0, 0,