# How to Sort CSV by multiple columns in Python  # importing pandas packageimport pandas as pd  # making data frame from csv filedata = pd.read_csv("diamonds.csv")  # sorting data frame by a columndata.sort_values("carat", axis=0, ascending=True,                 inplace=True, na_position='first')  # displaydata.head(10)