text_html_output_1.png
import pandas as pd

df = pd.read_csv('/kaggle/input/latest-covid19-india-statewise-data/Latest Covid-19 India Status.csv')

tc = df.sort_values(by='Total Cases', ascending=False)
tc

ta = df.sort_values(by='Active', ascending=False)
ta

td = df.sort_values(by='Discharged', ascending=False)
td

tdh = df.sort_values(by='Deaths', ascending=False)
tdh