{"id":2027882,"date":"2023-07-18T08:27:36","date_gmt":"2023-07-18T15:27:36","guid":{"rendered":"https:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=2027882"},"modified":"2023-07-25T15:08:24","modified_gmt":"2023-07-25T22:08:24","slug":"performing-principal-component-analysis-pca-to-determine-weights-for-index-indicators","status":"publish","type":"blog","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/api-python\/analytics\/performing-principal-component-analysis-pca-to-determine-weights-for-index-indicators","title":{"rendered":"Performing principal component analysis (PCA) to determine weights for index indicators"},"author":317312,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"_searchwp_excluded":""},"categories":[23341],"tags":[387782,771242,770162,759592],"industry":[],"product":[36841],"class_list":["post-2027882","blog","type-blog","status-publish","format-standard","hentry","category-analytics","tag-arcgis-api-for-python","tag-economic-distress","tag-socioeconomic-status","tag-spatial-data-science","product-api-python"],"acf":{"authors":[{"ID":317312,"user_firstname":"Elif","user_lastname":"Bulut","nickname":"Elif Bulut","user_nicename":"ebulut","display_name":"Elif Bulut","user_email":"ebulut@esri.com","user_url":"","user_registered":"2022-08-24 18:23:17","user_description":"Elif is a Product Engineer of Social Analysis and Data Science on the ArcGIS Business Analyst team. She holds a PhD in Sociology and applies spatial data science and social research to help users explore demographic trends, community characteristics, and access to resources. She is passionate about turning complex data into clear insights that support real-world decision-making.","user_avatar":"<img data-del=\"avatar\" src='https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2022\/10\/Elif-Bulut_Nov-24_2021_profie-pic.jpeg' class='avatar pp-user-avatar avatar-96 photo ' height='96' width='96'\/>"},{"ID":7181,"user_firstname":"Helen","user_lastname":"Thompson","nickname":"Helen Thompson","user_nicename":"helen_t","display_name":"Helen Thompson","user_email":"HThompson@esri.com","user_url":"","user_registered":"2018-03-02 00:19:25","user_description":"I'm the Distinguished Product Engineer for Business Analyst and GeoEnrichment. I've spent 40 years working with clients to apply spatial methods and analysis to enable their organizations to thrive. I'm passionate about the opportunities to solve challenges big and small. Customer insight and feedback drive our product and industry strategies at Esri.","user_avatar":"<img data-del=\"avatar\" src='https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/05\/G70681_HelenThompson_Square-465x465.jpg' class='avatar pp-user-avatar avatar-96 photo ' height='96' width='96'\/>"}],"short_description":"This blog article outlines the process of performing PCA using Python. ","flexible_content":[{"acf_fc_layout":"content","content":"<p>Compound indexes condense multiple variables into a single measure and provide a simplified representation of complex data. By aggregating several variables, compound indexes provide a comprehensive overview of a concept or phenomenon such as economic distress or social disadvantage that are based on multiple factors. This makes it easier for policymakers, researchers, and stakeholders to understand both the local impacts and the overall picture, leading to more informed decision-making and intervention choices.<\/p>\n<p>A crucial step in calculating an index score is applying weights to index variables or indicators. By assigning appropriate weights, the index can accurately represent the significance of each variable for the overarching concept. The weights can be determined through domain knowledge or using empirical statistical techniques such as principal component analysis (PCA) to identify the variables with the highest explanatory power. In a previous blog post titled <a href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/api-python\/analytics\/creating-an-economic-distress-index-using-python\/\">Creating an economic distress index layer using Census data with Python,<\/a> we provided a detailed explanation of how to construct an index using Python. Now, we will build upon this example to show how to perform principal component analysis to determine weights for index indicators.<\/p>\n<p><strong>Use PCA to determine weights for index indicators <\/strong><\/p>\n<p>Principal component analysis (PCA) can serve as a method for determining the weights in an index. PCA is a statistical method that identifies the underlying factors or components driving the variation in a dataset. This blog article will walk you through the process of performing principal component analysis using Python.<\/p>\n<p>To demonstrate how to conduct principal component analysis with Python, we will follow a seven-step process:<\/p>\n<p style=\"padding-left: 40px\"><strong>\u00a0 \u00a0 \u00a01.Import the required libraries.<\/strong><\/p>\n<p>To conduct PCA in Python, you can use libraries such as NumPy, pandas, and scikit-learn.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":2032132,"id":2032132,"title":"Uploading Python Libraries","filename":"new_gray_python-libraries.jpg","filesize":12159,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_gray_python-libraries.jpg","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/api-python\/analytics\/performing-principal-component-analysis-pca-to-determine-weights-for-index-indicators\/new_gray_python-libraries","alt":"","author":"317312","description":"","caption":"","name":"new_gray_python-libraries","status":"inherit","uploaded_to":2027882,"date":"2023-07-25 21:47:20","modified":"2023-07-25 21:47:48","menu_order":0,"mime_type":"image\/jpeg","type":"image","subtype":"jpeg","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":462,"height":65,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_gray_python-libraries-213x65.jpg","thumbnail-width":213,"thumbnail-height":65,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_gray_python-libraries.jpg","medium-width":462,"medium-height":65,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_gray_python-libraries.jpg","medium_large-width":462,"medium_large-height":65,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_gray_python-libraries.jpg","large-width":462,"large-height":65,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_gray_python-libraries.jpg","1536x1536-width":462,"1536x1536-height":65,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_gray_python-libraries.jpg","2048x2048-width":462,"2048x2048-height":65,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_gray_python-libraries.jpg","card_image-width":462,"card_image-height":65,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_gray_python-libraries.jpg","wide_image-width":462,"wide_image-height":65}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p style=\"padding-left: 40px\"><strong>\u00a0 \u00a0 \u00a02.Prepare your data.<\/strong><\/p>\n<p>Collect data for the index constituents, including only relevant economic distress indicators. Ensure that your dataset does not contain any categorical data as PCA can only operate on numerical data. Then create a data frame with the data, where each column represents a different index metric. The data frame should consist of the subset of data you wish to apply PCA to, excluding any columns that are not relevant to the analysis.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":2032152,"id":2032152,"title":"Prepare Your Data","filename":"new_Prepare-your-data.jpg","filesize":87441,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_Prepare-your-data.jpg","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/api-python\/analytics\/performing-principal-component-analysis-pca-to-determine-weights-for-index-indicators\/new_prepare-your-data","alt":"","author":"317312","description":"","caption":"","name":"new_prepare-your-data","status":"inherit","uploaded_to":2027882,"date":"2023-07-25 21:49:56","modified":"2023-07-25 21:50:12","menu_order":0,"mime_type":"image\/jpeg","type":"image","subtype":"jpeg","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":585,"height":410,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_Prepare-your-data-213x200.jpg","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_Prepare-your-data.jpg","medium-width":372,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_Prepare-your-data.jpg","medium_large-width":585,"medium_large-height":410,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_Prepare-your-data.jpg","large-width":585,"large-height":410,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_Prepare-your-data.jpg","1536x1536-width":585,"1536x1536-height":410,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_Prepare-your-data.jpg","2048x2048-width":585,"2048x2048-height":410,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_Prepare-your-data.jpg","card_image-width":585,"card_image-height":410,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_Prepare-your-data.jpg","wide_image-width":585,"wide_image-height":410}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p style=\"padding-left: 40px\"><strong>\u00a0 \u00a0 \u00a03.Standardize the data.<\/strong><\/p>\n<p>It is important to standardize the index metrics before performing PCA. This ensures that each indicator contributes equally to the analysis. Use the <strong>StandardScaler <\/strong>from scikit-learn to normalize the data.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":2032172,"id":2032172,"title":"Standardize the Data","filename":"new_standadize-data.jpg","filesize":18353,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_standadize-data.jpg","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/api-python\/analytics\/performing-principal-component-analysis-pca-to-determine-weights-for-index-indicators\/new_standadize-data","alt":"","author":"317312","description":"","caption":"","name":"new_standadize-data","status":"inherit","uploaded_to":2027882,"date":"2023-07-25 21:51:35","modified":"2023-07-25 21:52:06","menu_order":0,"mime_type":"image\/jpeg","type":"image","subtype":"jpeg","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":518,"height":87,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_standadize-data-213x87.jpg","thumbnail-width":213,"thumbnail-height":87,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_standadize-data.jpg","medium-width":464,"medium-height":78,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_standadize-data.jpg","medium_large-width":518,"medium_large-height":87,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_standadize-data.jpg","large-width":518,"large-height":87,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_standadize-data.jpg","1536x1536-width":518,"1536x1536-height":87,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_standadize-data.jpg","2048x2048-width":518,"2048x2048-height":87,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_standadize-data.jpg","card_image-width":518,"card_image-height":87,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_standadize-data.jpg","wide_image-width":518,"wide_image-height":87}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p style=\"padding-left: 40px\"><strong>\u00a0 \u00a0 \u00a04.Perform PCA.<\/strong><\/p>\n<p>Now, you are ready to perform PCA. To accomplish this, initialize a PCA object with the desired number of components. Feel free to adjust the number of components<strong> (n_components) <\/strong>based on your needs. Then, fit the model to the normalized data using the<strong> fit()<\/strong> method. Finally, retrieve the component loadings and explained variance ratios from the fitted model.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":2032212,"id":2032212,"title":"Perform PCA","filename":"new_pca.jpg","filesize":35496,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_pca.jpg","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/api-python\/analytics\/performing-principal-component-analysis-pca-to-determine-weights-for-index-indicators\/new_pca","alt":"","author":"317312","description":"","caption":"","name":"new_pca","status":"inherit","uploaded_to":2027882,"date":"2023-07-25 21:53:43","modified":"2023-07-25 21:53:55","menu_order":0,"mime_type":"image\/jpeg","type":"image","subtype":"jpeg","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":568,"height":128,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_pca-213x128.jpg","thumbnail-width":213,"thumbnail-height":128,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_pca.jpg","medium-width":464,"medium-height":105,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_pca.jpg","medium_large-width":568,"medium_large-height":128,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_pca.jpg","large-width":568,"large-height":128,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_pca.jpg","1536x1536-width":568,"1536x1536-height":128,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_pca.jpg","2048x2048-width":568,"2048x2048-height":128,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_pca.jpg","card_image-width":568,"card_image-height":128,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_pca.jpg","wide_image-width":568,"wide_image-height":128}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p>After running this code, you will get the transformed data in the transformed_data array, where each row represents an observation, and each column represents a principal component.<\/p>\n<p>The explained variance ratios are stored in the explained_variance_ratios array, indicating the proportion of variance explained by each principal component.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":2032222,"id":2032222,"title":"Explained Variance Ratios","filename":"new_exp-variance-ratios.jpg","filesize":87368,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_exp-variance-ratios.jpg","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/api-python\/analytics\/performing-principal-component-analysis-pca-to-determine-weights-for-index-indicators\/new_exp-variance-ratios","alt":"","author":"317312","description":"","caption":"","name":"new_exp-variance-ratios","status":"inherit","uploaded_to":2027882,"date":"2023-07-25 21:54:58","modified":"2023-07-25 21:55:20","menu_order":0,"mime_type":"image\/jpeg","type":"image","subtype":"jpeg","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":550,"height":284,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_exp-variance-ratios-213x200.jpg","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_exp-variance-ratios.jpg","medium-width":464,"medium-height":240,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_exp-variance-ratios.jpg","medium_large-width":550,"medium_large-height":284,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_exp-variance-ratios.jpg","large-width":550,"large-height":284,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_exp-variance-ratios.jpg","1536x1536-width":550,"1536x1536-height":284,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_exp-variance-ratios.jpg","2048x2048-width":550,"2048x2048-height":284,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_exp-variance-ratios.jpg","card_image-width":550,"card_image-height":284,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_exp-variance-ratios.jpg","wide_image-width":550,"wide_image-height":284}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p style=\"padding-left: 40px\"><strong>\u00a0 \u00a0 \u00a05.Determine index weights for each component.<\/strong><\/p>\n<p>These explained variance ratios help in understanding the relative importance of each component in capturing the overall variability of the data. Higher explained variance ratios suggest that a component has a more significant impact on the overall variance and should be considered more important when determining the weights for the index components.<\/p>\n<p>Analyze the explained variance ratios of each component. Higher ratios indicate a stronger influence of that component on the index. In this example, the output indicates that the first principal component explains 69% of the variance, the second component explains 17% of the remaining variance, the third component explains 9% of the remaining variance, and so on. Looking at these ratios, we decide to use the first principal component loadings, which explain nearly 70% of the variation in our data.<\/p>\n<p style=\"padding-left: 40px\"><strong>\u00a0 \u00a0 \u00a06.Normalize component loadings. <\/strong><\/p>\n<p>To assign weights to each index component, we first normalize the component loadings to sum up to 1 for each component, ensuring the weights represent relative contributions. Then, using the first principal component loadings, we get the weights for each index indicator in our dataset. For instance, PCA calculates a weight of 0.22 for the first variable (pct_less_than_30K) in our dataset, 0.23 for the second variable (pct_below_poverty), and so forth.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":2032252,"id":2032252,"title":"Normalize Component Loadings","filename":"new_weights.jpg","filesize":31368,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_weights.jpg","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/api-python\/analytics\/performing-principal-component-analysis-pca-to-determine-weights-for-index-indicators\/new_weights","alt":"","author":"317312","description":"","caption":"","name":"new_weights","status":"inherit","uploaded_to":2027882,"date":"2023-07-25 21:56:29","modified":"2023-07-25 21:57:08","menu_order":0,"mime_type":"image\/jpeg","type":"image","subtype":"jpeg","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":793,"height":95,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_weights-213x95.jpg","thumbnail-width":213,"thumbnail-height":95,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_weights.jpg","medium-width":464,"medium-height":56,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_weights.jpg","medium_large-width":768,"medium_large-height":92,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_weights.jpg","large-width":793,"large-height":95,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_weights.jpg","1536x1536-width":793,"1536x1536-height":95,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_weights.jpg","2048x2048-width":793,"2048x2048-height":95,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_weights.jpg","card_image-width":793,"card_image-height":95,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_weights.jpg","wide_image-width":793,"wide_image-height":95}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p style=\"padding-left: 40px\"><strong>\u00a0 \u00a0 \u00a07.Apply resulting weights to index indicators.<\/strong><\/p>\n<p>To finalize the process, we apply the obtained weights to the index indicators within our dataset.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":2032262,"id":2032262,"title":"Apply Resulting Weights to Index Indicators","filename":"new_weiitgh-coefs.jpg","filesize":73000,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_weiitgh-coefs.jpg","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/api-python\/analytics\/performing-principal-component-analysis-pca-to-determine-weights-for-index-indicators\/new_weiitgh-coefs","alt":"","author":"317312","description":"","caption":"","name":"new_weiitgh-coefs","status":"inherit","uploaded_to":2027882,"date":"2023-07-25 21:58:20","modified":"2023-07-25 21:59:02","menu_order":0,"mime_type":"image\/jpeg","type":"image","subtype":"jpeg","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":636,"height":268,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_weiitgh-coefs-213x200.jpg","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_weiitgh-coefs.jpg","medium-width":464,"medium-height":196,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_weiitgh-coefs.jpg","medium_large-width":636,"medium_large-height":268,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_weiitgh-coefs.jpg","large-width":636,"large-height":268,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_weiitgh-coefs.jpg","1536x1536-width":636,"1536x1536-height":268,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_weiitgh-coefs.jpg","2048x2048-width":636,"2048x2048-height":268,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_weiitgh-coefs.jpg","card_image-width":636,"card_image-height":268,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_weiitgh-coefs.jpg","wide_image-width":636,"wide_image-height":268}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p>Consequently, you can compute a weighted average index score by the mean index score by aggregating these weighted index indicators. For information on the calculation of a composite economic distress index score, please refer to the blog article titled <a href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/api-python\/analytics\/creating-an-economic-distress-index-using-python\/\">Creating an economic distress index layer using Census data with Python.<\/a><\/p>\n<p>This blog article has outlined the process of performing PCA using Python. For a thorough understanding of the step-by-step process involved in this workflow, we invite you to explore our comprehensive Python notebook available at this\u00a0<a href=\"https:\/\/github.com\/elifaslanbulut\/Economic-Distress-Index-county-level-\/blob\/main\/notebooks\/create-economic-distress-index-layer.ipynb\" target=\"_blank\" rel=\"noopener\" aria-describedby=\"new-window\">link. <\/a>By following the step-by-step instructions, researchers and policymakers can effectively apply PCA to assign weights to index indicators, providing a more nuanced understanding of the underlying concept. Ultimately, the resulting weighted index score facilitates comprehensive analysis and informed decision-making in various fields.<\/p>\n<p>For more information about PCA, here are some resources to help you understand the fundamentals of PCA and its implementation in Python using libraries like scikit-learn.<\/p>\n<p class=\"post-title entry-title\"><a href=\"https:\/\/www.datasciencesmachinelearning.com\/2019\/09\/principal-component-analysis-pca.html\">Demystifying Principal Component Analysis (PCA): A Beginner&#8217;s Guide with Intuitive Examples &amp; Illustrations<\/a><\/p>\n<p class=\"title\"><a href=\"https:\/\/builtin.com\/data-science\/step-step-explanation-principal-component-analysis\">A Step-by-Step Explanation of Principal Component Analysis (PCA)<\/a><\/p>\n<p class=\"css-1sktyum-MediaHeaderContent\" data-testid=\"header-content\"><a href=\"https:\/\/www.datacamp.com\/tutorial\/principal-component-analysis-in-python\">Principal Component Analysis (PCA) in Python Tutorial<\/a><\/p>\n<p><a href=\"https:\/\/scikit-learn.org\/stable\/modules\/generated\/sklearn.decomposition.PCA.html\">The official documentation of PCA in scikit-learn library, providing details on various parameters and methods.<\/a><\/p>\n<p>&nbsp;<\/p>\n"}],"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/small-banner_new.jpg","wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_wide-banner.jpg","related_articles":[{"ID":1943312,"post_author":"317312","post_date":"2023-05-26 08:28:28","post_date_gmt":"2023-05-26 15:28:28","post_content":"","post_title":"Creating an economic distress index layer using Census data with Python","post_excerpt":"","post_status":"publish","comment_status":"open","ping_status":"closed","post_password":"","post_name":"creating-an-economic-distress-index-using-python","to_ping":"","pinged":"","post_modified":"2023-07-26 14:16:15","post_modified_gmt":"2023-07-26 21:16:15","post_content_filtered":"","post_parent":0,"guid":"https:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=1943312","menu_order":0,"post_type":"blog","post_mime_type":"","comment_count":"4","filter":"raw"},{"ID":181771,"post_author":"5121","post_date":"2012-09-06 23:21:35","post_date_gmt":"2012-09-06 23:21:35","post_content":"","post_title":"A simple approach for including 3rd party Python libraries with your scripts","post_excerpt":"","post_status":"publish","comment_status":"closed","ping_status":"closed","post_password":"","post_name":"a-simple-approach-for-including-3rd-party-python-libraries-with-your-scripts","to_ping":"","pinged":"","post_modified":"2018-12-18 11:22:36","post_modified_gmt":"2018-12-18 19:22:36","post_content_filtered":"","post_parent":0,"guid":"http:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=181771","menu_order":0,"post_type":"blog","post_mime_type":"","comment_count":"0","filter":"raw"},{"ID":505902,"post_author":"9512","post_date":"2019-05-06 13:34:29","post_date_gmt":"2019-05-06 20:34:29","post_content":"","post_title":"ArcGIS API for Python Core Concepts Part 1: Python, APIs, and REST","post_excerpt":"","post_status":"publish","comment_status":"open","ping_status":"closed","post_password":"","post_name":"arcgis-api-for-python-core-concepts-part-1","to_ping":"","pinged":"","post_modified":"2020-02-19 08:56:59","post_modified_gmt":"2020-02-19 16:56:59","post_content_filtered":"","post_parent":0,"guid":"https:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=505902","menu_order":0,"post_type":"blog","post_mime_type":"","comment_count":"4","filter":"raw"},{"ID":1387892,"post_author":"14081","post_date":"2021-12-10 03:00:35","post_date_gmt":"2021-12-10 11:00:35","post_content":"","post_title":"ArcGIS Business Analyst in the ArcGIS API for Python!","post_excerpt":"","post_status":"publish","comment_status":"open","ping_status":"closed","post_password":"","post_name":"python-api-geoenrichment-introspection","to_ping":"","pinged":"","post_modified":"2021-12-14 14:31:44","post_modified_gmt":"2021-12-14 22:31:44","post_content_filtered":"","post_parent":0,"guid":"https:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=1387892","menu_order":0,"post_type":"blog","post_mime_type":"","comment_count":"0","filter":"raw"}]},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.9 (Yoast SEO v25.9) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>% Performing principal component analysis (PCA) to determine weights for index indicators<\/title>\n<meta name=\"description\" content=\"This blog article outlines the process of performing PCA using Python. For a thorough understanding of the step-by-step process involved in this workflow, we invite you to explore our comprehensive Python notebook available at this link. By following the step-by-step instructions, researchers and policymakers can effectively apply PCA to assign weights to index indicators, providing a more nuanced understanding of the underlying concept. Ultimately, the resulting weighted index score facilitates comprehensive analysis and informed decision-making in various fields.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/api-python\/analytics\/performing-principal-component-analysis-pca-to-determine-weights-for-index-indicators\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Performing principal component analysis (PCA) to determine weights for index indicators\" \/>\n<meta property=\"og:description\" content=\"This blog article outlines the process of performing PCA using Python. For a thorough understanding of the step-by-step process involved in this workflow, we invite you to explore our comprehensive Python notebook available at this link. By following the step-by-step instructions, researchers and policymakers can effectively apply PCA to assign weights to index indicators, providing a more nuanced understanding of the underlying concept. Ultimately, the resulting weighted index score facilitates comprehensive analysis and informed decision-making in various fields.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.esri.com\/arcgis-blog\/products\/api-python\/analytics\/performing-principal-component-analysis-pca-to-determine-weights-for-index-indicators\" \/>\n<meta property=\"og:site_name\" content=\"ArcGIS Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/esrigis\/\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-25T22:08:24+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@ESRI\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"Article\",\"BlogPosting\"],\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/api-python\/analytics\/performing-principal-component-analysis-pca-to-determine-weights-for-index-indicators#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/api-python\/analytics\/performing-principal-component-analysis-pca-to-determine-weights-for-index-indicators\"},\"author\":{\"name\":\"Elif Bulut\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/4387344ead563b42b8031495ffd80a5e\"},\"headline\":\"Performing principal component analysis (PCA) to determine weights for index indicators\",\"datePublished\":\"2023-07-18T15:27:36+00:00\",\"dateModified\":\"2023-07-25T22:08:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/api-python\/analytics\/performing-principal-component-analysis-pca-to-determine-weights-for-index-indicators\"},\"wordCount\":11,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\"},\"keywords\":[\"ArcGIS API for Python\",\"economic distress\",\"socioeconomic status\",\"spatial data science\"],\"articleSection\":[\"Analytics\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.esri.com\/arcgis-blog\/products\/api-python\/analytics\/performing-principal-component-analysis-pca-to-determine-weights-for-index-indicators#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/api-python\/analytics\/performing-principal-component-analysis-pca-to-determine-weights-for-index-indicators\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/api-python\/analytics\/performing-principal-component-analysis-pca-to-determine-weights-for-index-indicators\",\"name\":\"% Performing principal component analysis (PCA) to determine weights for index indicators\",\"isPartOf\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#website\"},\"datePublished\":\"2023-07-18T15:27:36+00:00\",\"dateModified\":\"2023-07-25T22:08:24+00:00\",\"description\":\"This blog article outlines the process of performing PCA using Python. For a thorough understanding of the step-by-step process involved in this workflow, we invite you to explore our comprehensive Python notebook available at this link. By following the step-by-step instructions, researchers and policymakers can effectively apply PCA to assign weights to index indicators, providing a more nuanced understanding of the underlying concept. Ultimately, the resulting weighted index score facilitates comprehensive analysis and informed decision-making in various fields.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/api-python\/analytics\/performing-principal-component-analysis-pca-to-determine-weights-for-index-indicators#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.esri.com\/arcgis-blog\/products\/api-python\/analytics\/performing-principal-component-analysis-pca-to-determine-weights-for-index-indicators\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/api-python\/analytics\/performing-principal-component-analysis-pca-to-determine-weights-for-index-indicators#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.esri.com\/arcgis-blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Performing principal component analysis (PCA) to determine weights for index indicators\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#website\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/\",\"name\":\"ArcGIS Blog\",\"description\":\"Get insider info from Esri product teams\",\"publisher\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.esri.com\/arcgis-blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\",\"name\":\"Esri\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png\",\"contentUrl\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png\",\"width\":400,\"height\":400,\"caption\":\"Esri\"},\"image\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/esrigis\/\",\"https:\/\/x.com\/ESRI\",\"https:\/\/www.linkedin.com\/company\/5311\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/4387344ead563b42b8031495ffd80a5e\",\"name\":\"Elif Bulut\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2022\/10\/Elif-Bulut_Nov-24_2021_profie-pic.jpeg\",\"contentUrl\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2022\/10\/Elif-Bulut_Nov-24_2021_profie-pic.jpeg\",\"caption\":\"Elif Bulut\"},\"description\":\"Elif is a Product Engineer of Social Analysis and Data Science on the ArcGIS Business Analyst team. She holds a PhD in Sociology and applies spatial data science and social research to help users explore demographic trends, community characteristics, and access to resources. She is passionate about turning complex data into clear insights that support real-world decision-making.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/elif-bulut-phd\/\"],\"gender\":\"Female\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/author\/ebulut\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"% Performing principal component analysis (PCA) to determine weights for index indicators","description":"This blog article outlines the process of performing PCA using Python. For a thorough understanding of the step-by-step process involved in this workflow, we invite you to explore our comprehensive Python notebook available at this link. By following the step-by-step instructions, researchers and policymakers can effectively apply PCA to assign weights to index indicators, providing a more nuanced understanding of the underlying concept. Ultimately, the resulting weighted index score facilitates comprehensive analysis and informed decision-making in various fields.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.esri.com\/arcgis-blog\/products\/api-python\/analytics\/performing-principal-component-analysis-pca-to-determine-weights-for-index-indicators","og_locale":"en_US","og_type":"article","og_title":"Performing principal component analysis (PCA) to determine weights for index indicators","og_description":"This blog article outlines the process of performing PCA using Python. For a thorough understanding of the step-by-step process involved in this workflow, we invite you to explore our comprehensive Python notebook available at this link. By following the step-by-step instructions, researchers and policymakers can effectively apply PCA to assign weights to index indicators, providing a more nuanced understanding of the underlying concept. Ultimately, the resulting weighted index score facilitates comprehensive analysis and informed decision-making in various fields.","og_url":"https:\/\/www.esri.com\/arcgis-blog\/products\/api-python\/analytics\/performing-principal-component-analysis-pca-to-determine-weights-for-index-indicators","og_site_name":"ArcGIS Blog","article_publisher":"https:\/\/www.facebook.com\/esrigis\/","article_modified_time":"2023-07-25T22:08:24+00:00","twitter_card":"summary_large_image","twitter_site":"@ESRI","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","BlogPosting"],"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/api-python\/analytics\/performing-principal-component-analysis-pca-to-determine-weights-for-index-indicators#article","isPartOf":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/api-python\/analytics\/performing-principal-component-analysis-pca-to-determine-weights-for-index-indicators"},"author":{"name":"Elif Bulut","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/4387344ead563b42b8031495ffd80a5e"},"headline":"Performing principal component analysis (PCA) to determine weights for index indicators","datePublished":"2023-07-18T15:27:36+00:00","dateModified":"2023-07-25T22:08:24+00:00","mainEntityOfPage":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/api-python\/analytics\/performing-principal-component-analysis-pca-to-determine-weights-for-index-indicators"},"wordCount":11,"commentCount":1,"publisher":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization"},"keywords":["ArcGIS API for Python","economic distress","socioeconomic status","spatial data science"],"articleSection":["Analytics"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.esri.com\/arcgis-blog\/products\/api-python\/analytics\/performing-principal-component-analysis-pca-to-determine-weights-for-index-indicators#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/api-python\/analytics\/performing-principal-component-analysis-pca-to-determine-weights-for-index-indicators","url":"https:\/\/www.esri.com\/arcgis-blog\/products\/api-python\/analytics\/performing-principal-component-analysis-pca-to-determine-weights-for-index-indicators","name":"% Performing principal component analysis (PCA) to determine weights for index indicators","isPartOf":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#website"},"datePublished":"2023-07-18T15:27:36+00:00","dateModified":"2023-07-25T22:08:24+00:00","description":"This blog article outlines the process of performing PCA using Python. For a thorough understanding of the step-by-step process involved in this workflow, we invite you to explore our comprehensive Python notebook available at this link. By following the step-by-step instructions, researchers and policymakers can effectively apply PCA to assign weights to index indicators, providing a more nuanced understanding of the underlying concept. Ultimately, the resulting weighted index score facilitates comprehensive analysis and informed decision-making in various fields.","breadcrumb":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/api-python\/analytics\/performing-principal-component-analysis-pca-to-determine-weights-for-index-indicators#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.esri.com\/arcgis-blog\/products\/api-python\/analytics\/performing-principal-component-analysis-pca-to-determine-weights-for-index-indicators"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/api-python\/analytics\/performing-principal-component-analysis-pca-to-determine-weights-for-index-indicators#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.esri.com\/arcgis-blog\/"},{"@type":"ListItem","position":2,"name":"Performing principal component analysis (PCA) to determine weights for index indicators"}]},{"@type":"WebSite","@id":"https:\/\/www.esri.com\/arcgis-blog\/#website","url":"https:\/\/www.esri.com\/arcgis-blog\/","name":"ArcGIS Blog","description":"Get insider info from Esri product teams","publisher":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.esri.com\/arcgis-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization","name":"Esri","url":"https:\/\/www.esri.com\/arcgis-blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png","contentUrl":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png","width":400,"height":400,"caption":"Esri"},"image":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/esrigis\/","https:\/\/x.com\/ESRI","https:\/\/www.linkedin.com\/company\/5311\/"]},{"@type":"Person","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/4387344ead563b42b8031495ffd80a5e","name":"Elif Bulut","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/image\/","url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2022\/10\/Elif-Bulut_Nov-24_2021_profie-pic.jpeg","contentUrl":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2022\/10\/Elif-Bulut_Nov-24_2021_profie-pic.jpeg","caption":"Elif Bulut"},"description":"Elif is a Product Engineer of Social Analysis and Data Science on the ArcGIS Business Analyst team. She holds a PhD in Sociology and applies spatial data science and social research to help users explore demographic trends, community characteristics, and access to resources. She is passionate about turning complex data into clear insights that support real-world decision-making.","sameAs":["https:\/\/www.linkedin.com\/in\/elif-bulut-phd\/"],"gender":"Female","url":"https:\/\/www.esri.com\/arcgis-blog\/author\/ebulut"}]}},"text_date":"July 18, 2023","author_name":"Multiple Authors","author_page":"https:\/\/www.esri.com\/arcgis-blog\/products\/api-python\/analytics\/performing-principal-component-analysis-pca-to-determine-weights-for-index-indicators","custom_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/07\/new_wide-banner.jpg","primary_product":"ArcGIS API for Python","tag_data":[{"term_id":387782,"name":"ArcGIS API for Python","slug":"arcgis-api-for-python","term_group":0,"term_taxonomy_id":387782,"taxonomy":"post_tag","description":"","parent":0,"count":44,"filter":"raw"},{"term_id":771242,"name":"economic distress","slug":"economic-distress","term_group":0,"term_taxonomy_id":771242,"taxonomy":"post_tag","description":"","parent":0,"count":2,"filter":"raw"},{"term_id":770162,"name":"socioeconomic status","slug":"socioeconomic-status","term_group":0,"term_taxonomy_id":770162,"taxonomy":"post_tag","description":"","parent":0,"count":2,"filter":"raw"},{"term_id":759592,"name":"spatial data science","slug":"spatial-data-science","term_group":0,"term_taxonomy_id":759592,"taxonomy":"post_tag","description":"","parent":0,"count":17,"filter":"raw"}],"category_data":[{"term_id":23341,"name":"Analytics","slug":"analytics","term_group":0,"term_taxonomy_id":23341,"taxonomy":"category","description":"","parent":0,"count":1326,"filter":"raw"}],"product_data":[{"term_id":36841,"name":"ArcGIS API for Python","slug":"api-python","term_group":0,"term_taxonomy_id":36841,"taxonomy":"product","description":"","parent":36601,"count":151,"filter":"raw"}],"primary_product_link":"https:\/\/www.esri.com\/arcgis-blog\/?s=#&products=api-python","_links":{"self":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog\/2027882","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog"}],"about":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/types\/blog"}],"author":[{"embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/users\/317312"}],"replies":[{"embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/comments?post=2027882"}],"version-history":[{"count":0,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog\/2027882\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/media?parent=2027882"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/categories?post=2027882"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/tags?post=2027882"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/industry?post=2027882"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/product?post=2027882"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}