import pandas as pd

df = pd.DataFrame({'A': [1, 2, 3], 'B': [4, 5, 6], 'C': [7, 8, 9]})

# Swap the first and second rows
new_index = [1, 0, 2]
df = df.reindex(new_index)

print(df)