trier par deux colonnes en pandas
df.sort_values(['a', 'b'], ascending=[True, False])
Sachin
df.sort_values(['a', 'b'], ascending=[True, False])
#If you want to divide column_name1 by column_name2
df['new_column'] = df.column_name1.div(df.column_name2)
df["period"] = df["Year"] + df["quarter"]
df[['B','C']].div(df.A, axis=0) and df.iloc[:,1:].div(df.A, axis=0)