US State Incomes and Literacy Rates
Get to know the relation between literacy rates and income groups of different states in US.
US Literacy rates
Now let’s look at a smaller scale and compare literacy rates and income for each US state. The data for literacy rates of US states has been taken from the ThinkImpact website. Please run the following code to see it yourself.
Press + to interact
import pandas as pdimport matplotlib as pltimport numpy as npdf = pd.read_csv('US_literacy_rate_by_states.csv')df.rename(columns={'Literacy Rate (%)':'Literacy Rate'}, inplace=True)df = df[['State','Literacy Rate']]df = df.dropna(subset=['Literacy Rate'])print (df)