Phân tích dữ liệu Điều tra Dân số Hoa Kỳ bằng Python
Lee Hachadoorian
Asst. Professor of Instruction, Temple University
pandas DataFramesDecennial Census of Population and Housing
American Community Survey

states.head()
total ... hispanic_multiracial
Alabama 4779736 ... 10806
Alaska 710231 ... 6507
Arizona 6392017 ... 103669
Arkansas 2915918 ... 11173
California 37253956 ... 846688
[5 rows x 17 columns]
import seaborn as snssns.set()sns.barplot( x = "total", y = states.index, data = states )
Going further: Data Visualization with Seaborn

Phân tích dữ liệu Điều tra Dân số Hoa Kỳ bằng Python