{"id":12784,"date":"2021-01-06T13:33:51","date_gmt":"2021-01-06T21:33:51","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=12784"},"modified":"2023-12-01T04:06:33","modified_gmt":"2023-12-01T12:06:33","slug":"python-shuffle-list","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/python-shuffle-list\/","title":{"rendered":"Python Shuffle List: A Step-By-Step Guide"},"content":{"rendered":"\n<p><em>The Python random.shuffle() method changes the order of the items in a list at random. Combined with indexing, this method is useful for selecting a random item from a list. The random.shuffle() method accepts one argument: the list you want to change.<\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>You may encounter a situation where you want to randomize the order of items in a list. For instance, say you\u2019re creating a program that chooses the winner of a raffle at your store. You may want to have that program select a winner by randomly reorganizing the list of participants.<\/p>\n\n\n\n<p>That\u2019s where the <em>random.shuffle()<\/em> method comes in. The <em>random.shuffle()<\/em> method is part of the <em>random<\/em> module in Python and is used to reorder the items in a list at random. In this tutorial, we&#8217;ll discuss how to use the <em>random.shuffle()<\/em> method.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Python Shuffle List<\/h2>\n\n\n\n<p>The <em>random.shuffle()<\/em> Python function randomly reorders items in a list. This method is useful for applications where you want to retrieve an item from a list at random. The <em>random.shuffle()<\/em> method modifies an original list. This method does not create a new list.<\/p>\n\n\n\n<p>A <em>list<\/em> stores collections of data. <a href=\"https:\/\/careerkarma.com\/blog\/python-array\/\">Python lists<\/a> are ordered, which means that when you store an item in a list, it will stay in that position. While this is an important feature of lists, you may be creating a program that needs to shuffle the order of a list. <\/p>\n\n\n\n<p><em>random<\/em><em>.shuffle()<\/em> is part of the random library, which implements pseudo-random number generators in Python. This means that before we can use the <em>random.shuffle()<\/em> method, we need to import the random library into our code. We can do so by adding the following to our code:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>import random<\/pre><\/div>\n\n\n\n<p>The syntax for the <em>random.shuffle()<\/em> method is:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>import random\n\nrandom.shuffle(list_name, function)<\/pre><\/div>\n\n\n\n<p>The <em>random.shuffle()<\/em> method takes in two parameters:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>list_name<\/strong>: the <em>list<\/em>, <em>tuple<\/em>, or <em>string<\/em> whose order you want to shuffle (required).<\/li><li><strong>function<\/strong>: the name of a function that returns a random float between 0.0 and 1.0, or another float within that range (optional).<\/li><\/ul>\n\n\n\n<p>Using the <em>function<\/em> parameter with <em>random.shuffle()<\/em> is uncommon. You only use it when you want to employ a custom shuffle algorithm that weighs values differently. Thus, we do not cover the <em>function<\/em> parameter of <em>random.shuffle()<\/em> in this tutorial.<\/p>\n\n\n\n<p>You can use the random.shuffle() method on a string or a tuple. In any case, random.shuffle() modifies the original data. It does not create a new value, like a new string or a new tuple.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Python random.shuffle(): Example<\/h2>\n\n\n\n<p>Say we are running a raffle at our store. The winner will receive a $100 gift card that he or she can spend on any product in the store. The person in second-place will receive a $50 gift card, and the person in third-place will receive a $25 gift card.<\/p>\n\n\n\n<p>We have a list that contains the name of everyone who entered the raffle. Our goal is to reorganize our list in a random order to determine the winners. To do this, we\u2019ll use the <em>random.shuffle()<\/em> method.<\/p>\n\n\n\n<p>Here\u2019s the code we could use to reorganize the order of our list randomly so that we can identify our winners:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>import random\n\nraffle_entrants = ['Thomas Crane', 'Braden Cox', 'Adie Paulson', 'Leonardo Downs', 'Lindsay Knapp', 'Carl Sanderson']\n\nprint('Entrants (ordered)')\nprint(raffle_entrants)\n\nprint('Winners (random order)')\nrandom.shuffle(raffle_entrants)\nprint(raffle_entrants)<\/pre><\/div>\n\n\n\n<p>Our function returns the following: <\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>Entrants (ordered)\n['Thomas Crane', 'Braden Cox', 'Adie Paulson', 'Leonardo Downs', 'Lindsay Knapp', 'Carl Sanderson']\nWinners (random order)\n['Adie Paulson', 'Braden Cox', 'Carl Sanderson', 'Leonardo Downs', 'Thomas Crane', 'Lindsay Knapp']<\/pre><\/div>\n\n\n\n<p>On the first line, we import the random library using a <a href=\"https:\/\/careerkarma.com\/blog\/python-import\/\">Python import statement<\/a>. This library contains the <em>random.shuffle()<\/em> method that we use later in our code. Then, we declare a <a href=\"https:\/\/careerkarma.com\/blog\/python-variables\/\">Python variable<\/a> called <em>raffle_entrants<\/em><em> <\/em>which includes the name of everyone who entered the raffle.<\/p>\n\n\n\n<p>On the next two lines, we print out a message to the console saying, <em>Entrants (ordered)<\/em>, followed by the contents of the <em>raffle_entrants<\/em> list. This allows us to see our list before the program shuffles it.<\/p>\n\n\n\n<p>We print out a message to the console saying, &#8220;<em>Winners (random order)&#8221;. <\/em>Our code uses the <em>random.shuffle()<\/em> method to shuffle the contents of our <em>raffle_entrants<\/em> list. Finally, we print out our <em>raffle_entrants<\/em> list after it is shuffled using <em>random.shuffle()<\/em>.<\/p>\n\n\n\n<p>Now we have a randomly shuffled list of names. According to the example above, we now know that Braden Cox won first place. Thomas Crane won second place and Leonardo Downs won third place.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Verifying Our Code<\/h3>\n\n\n\n<p>If we run our code again, we get a newly ordered Python list. Here\u2019s what happens when we execute our code a second time:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>Entrants (ordered)\n['Thomas Crane', 'Braden Cox', 'Adie Paulson', 'Leonardo Downs', 'Lindsay Knapp', 'Carl Sanderson']\nWinners (random order)\n['Braden Cox', 'Lindsay Knapp', 'Carl Sanderson', 'Leonardo Downs', 'Thomas Crane', 'Adie Paulson']<\/pre><\/div>\n\n\n\n<p>Thus, it\u2019s clear that <em>random.shuffle()<\/em> will return a randomly organized list (technically, a pseudo-randomly organized list) every time we use it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>You can randomize the order of items in a list in Python using the <em>random.shuffle()<\/em> method. In our example, <em>random.shuffle()<\/em> helped us create a program that randomly selected raffle winners from a list of entrants.<\/p>\n\n\n\n<p>Do you want to learn more about Python programming? Read our <a href=\"https:\/\/careerkarma.com\/blog\/how-to-learn-python\/\">How to Learn Python guide<\/a>. In this guide, you&#8217;ll find top tips on how to learn Python. The guide also includes a list of learning resources and courses that will help you advance your Python knowledge.<\/p>\n","protected":false},"excerpt":{"rendered":"The Python random.shuffle() method changes the order of the items in a list at random. Combined with indexing, this method is useful for selecting a random item from a list. The random.shuffle() method accepts one argument: the list you want to change. You may encounter a situation where you want to randomize the order of&hellip;","protected":false},"author":240,"featured_media":12785,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[16578],"tags":[],"class_list":{"0":"post-12784","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-python"},"acf":{"post_sub_title":"","sprint_id":"","query_class":"Python","school_sft":"","parent_sft":"","school_privacy_policy":"","has_review":null,"is_sponser_post":"","is_guest_post":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.0 (Yoast SEO v27.0) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Python Shuffle List: A Step-By-Step Guide | Career Karma<\/title>\n<meta name=\"description\" content=\"You can use the random.shuffle method in Python to reorganize the order of a list at random. Learn how the random.shuffle method works and how to use it in your code on Career Karma.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/careerkarma.com\/blog\/python-shuffle-list\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python Shuffle List: A Step-By-Step Guide\" \/>\n<meta property=\"og:description\" content=\"You can use the random.shuffle method in Python to reorganize the order of a list at random. Learn how the random.shuffle method works and how to use it in your code on Career Karma.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/python-shuffle-list\/\" \/>\n<meta property=\"og:site_name\" content=\"Career Karma\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/facebook.com\/careerkarmaapp\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-06T21:33:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T12:06:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/person-using-macbook-air-on-table-1181248.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"668\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"James Gallagher\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@career_karma\" \/>\n<meta name=\"twitter:site\" content=\"@career_karma\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"James Gallagher\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-shuffle-list\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-shuffle-list\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"Python Shuffle List: A Step-By-Step Guide\",\"datePublished\":\"2021-01-06T21:33:51+00:00\",\"dateModified\":\"2023-12-01T12:06:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-shuffle-list\/\"},\"wordCount\":835,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-shuffle-list\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/person-using-macbook-air-on-table-1181248.jpg\",\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-shuffle-list\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-shuffle-list\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/python-shuffle-list\/\",\"name\":\"Python Shuffle List: A Step-By-Step Guide | Career Karma\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-shuffle-list\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-shuffle-list\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/person-using-macbook-air-on-table-1181248.jpg\",\"datePublished\":\"2021-01-06T21:33:51+00:00\",\"dateModified\":\"2023-12-01T12:06:33+00:00\",\"author\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"You can use the random.shuffle method in Python to reorganize the order of a list at random. Learn how the random.shuffle method works and how to use it in your code on Career Karma.\",\"breadcrumb\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-shuffle-list\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-shuffle-list\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-shuffle-list\/#primaryimage\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/person-using-macbook-air-on-table-1181248.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/person-using-macbook-air-on-table-1181248.jpg\",\"width\":1000,\"height\":668},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-shuffle-list\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\/\/careerkarma.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python\",\"item\":\"https:\/\/careerkarma.com\/blog\/python\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Python Shuffle List: A Step-By-Step Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\",\"url\":\"https:\/\/careerkarma.com\/blog\/\",\"name\":\"Career Karma\",\"description\":\"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/careerkarma.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\",\"name\":\"James Gallagher\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg\",\"caption\":\"James Gallagher\"},\"description\":\"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.\",\"url\":\"https:\/\/careerkarma.com\/blog\/author\/jamesgallagher\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Python Shuffle List: A Step-By-Step Guide | Career Karma","description":"You can use the random.shuffle method in Python to reorganize the order of a list at random. Learn how the random.shuffle method works and how to use it in your code on Career Karma.","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:\/\/careerkarma.com\/blog\/python-shuffle-list\/","og_locale":"en_US","og_type":"article","og_title":"Python Shuffle List: A Step-By-Step Guide","og_description":"You can use the random.shuffle method in Python to reorganize the order of a list at random. Learn how the random.shuffle method works and how to use it in your code on Career Karma.","og_url":"https:\/\/careerkarma.com\/blog\/python-shuffle-list\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2021-01-06T21:33:51+00:00","article_modified_time":"2023-12-01T12:06:33+00:00","og_image":[{"width":1000,"height":668,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/person-using-macbook-air-on-table-1181248.jpg","type":"image\/jpeg"}],"author":"James Gallagher","twitter_card":"summary_large_image","twitter_creator":"@career_karma","twitter_site":"@career_karma","twitter_misc":{"Written by":"James Gallagher","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/python-shuffle-list\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/python-shuffle-list\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"Python Shuffle List: A Step-By-Step Guide","datePublished":"2021-01-06T21:33:51+00:00","dateModified":"2023-12-01T12:06:33+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-shuffle-list\/"},"wordCount":835,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-shuffle-list\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/person-using-macbook-air-on-table-1181248.jpg","articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/python-shuffle-list\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/python-shuffle-list\/","url":"https:\/\/careerkarma.com\/blog\/python-shuffle-list\/","name":"Python Shuffle List: A Step-By-Step Guide | Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-shuffle-list\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-shuffle-list\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/person-using-macbook-air-on-table-1181248.jpg","datePublished":"2021-01-06T21:33:51+00:00","dateModified":"2023-12-01T12:06:33+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"You can use the random.shuffle method in Python to reorganize the order of a list at random. Learn how the random.shuffle method works and how to use it in your code on Career Karma.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/python-shuffle-list\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/python-shuffle-list\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/python-shuffle-list\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/person-using-macbook-air-on-table-1181248.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/person-using-macbook-air-on-table-1181248.jpg","width":1000,"height":668},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/python-shuffle-list\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/careerkarma.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Python","item":"https:\/\/careerkarma.com\/blog\/python\/"},{"@type":"ListItem","position":3,"name":"Python Shuffle List: A Step-By-Step Guide"}]},{"@type":"WebSite","@id":"https:\/\/careerkarma.com\/blog\/#website","url":"https:\/\/careerkarma.com\/blog\/","name":"Career Karma","description":"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/careerkarma.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94","name":"James Gallagher","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","caption":"James Gallagher"},"description":"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.","url":"https:\/\/careerkarma.com\/blog\/author\/jamesgallagher\/"}]}},"_links":{"self":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/12784","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/users\/240"}],"replies":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/comments?post=12784"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/12784\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/12785"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=12784"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=12784"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=12784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}