text_plain_output_1.png image_output_1.png
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

import numpy as np
import pandas as pd
import seaborn as sns
import os
df = pd.read_csv('../input/rural_urban.csv')

df = df.drop(df.index[:7])

df.groupby('area')['transgender'].agg('sum').sort_values(ascending=False).head(10).plot(kind='bar')

df.groupby('area')['average annual growth rate'].agg('sum').sort_values(ascending=False).head(10).plot(kind='bar')