text_html_output_1.png
import pandas as pd

import pandas as pd
cars = {'Brand': ['Honda Civic', 'Toyota Corolla', 'Ford Focus', 'Audi A4'], 'Price': [22000, 25000, 27000, 35000], 'Year': [2015, 2013, 2018, 2018]}
df = pd.DataFrame(cars, columns=['Brand', 'Price', 'Year'])

df.sort_values(by=['Brand'], inplace=True)

df.head()