依郵遞區號編列的美國人口

2000 年和 2010 年 12 月人口普查中每個美國郵遞區號的性別和種族的美國人口。

此資料集來自美國普查局的 十年人口普查資料集 API 。 如需此資料集相關的使用條款及條件,請參閱服務條款政策與聲明

注意

Microsoft 會以「如目前」為基礎提供 Azure 開放資料集。 Microsoft 不會就您使用資料集做出任何明示或默示擔保或條件。 根據當地法律所允許的範圍,Microsoft 會免除因使用資料集而產生的任何損害或損失的所有責任,包括直接、衍生、特殊、間接、附帶或懲罰性。

此資料集是根據 Microsoft 接收來源資料的原始條款所提供。 資料集可能包含源自 Microsoft 的資料。

磁片區和保留期

此資料集以 Parquet 格式儲存,並含有 2010 年的資料。

儲存位置

此資料集儲存於美國東部 Azure 區域。 建議您在美國東部配置計算資源,以確保同質性。

資料行

名稱 資料類型 唯一 Values (sample) 描述
decennialTime string 1 2010 十年人口普查的時間,例如 2010 年 2000 年。
maxAge int 23 54 21 年齡範圍最大值。 如果為 null,則代表所有年齡或年齡範圍沒有上限,例如年齡 > 為 85 歲。
minAge int 23 45 30 年齡範圍最小值。 如果是 null,就表示跨所有年齡。
母體 int 29,274 1 2 此區段的人口數。
比賽 string 8 一些其他種族單獨黑人或非裔美國人單獨 人口普查資料的種族類別。 如果是 null,就表示跨所有種族。
string 3 女性男性 男性或女性。 如果是 null,就表示跨兩種性別。
year int 1 2010 十年一度的年份 (整數)。
郵遞區號 string 33,120 39218 87420 5 位數郵遞區號製表區域 (ZCTA5)。

預覽

decennialTime 郵遞區號 母體 比賽 minAge maxAge year
2010 77477 265 僅白色 女性 15 17 2010
2010 77477 107 一些其他種族單獨 女性 15 17 2010
2010 77477 12 一些其他種族單獨 女性 65 66 2010
2010 77477 101 僅亞洲 女性 60 61 2010
2010 77477 221 僅亞洲 男性 10 14 2010
2010 77478 256 僅白色 女性 15 17 2010
2010 77478 17 一些其他種族單獨 女性 15 17 2010
2010 77478 3 一些其他種族單獨 女性 65 66 2010

資料存取

Azure Notebooks

# This is a package in preview.
from azureml.opendatasets import UsPopulationZip

population = UsPopulationZip()
population_df = population.to_pandas_dataframe()
population_df.info()

Azure Databricks

# This is a package in preview.
from azureml.opendatasets import UsPopulationZip

population = UsPopulationZip()
population_df = population.to_spark_dataframe()
display(population_df.limit(5))

Azure Synapse

# This is a package in preview.
from azureml.opendatasets import UsPopulationZip

population = UsPopulationZip()
population_df = population.to_spark_dataframe()
# Display top 5 rows
display(population_df.limit(5))

下一步

檢視開放式資料集目錄中 的其餘資料集