{"id":235,"date":"2026-05-15T05:47:41","date_gmt":"2026-05-14T21:47:41","guid":{"rendered":"https:\/\/junai.ai\/blog\/python-collections-itertools-19\/"},"modified":"2026-05-17T07:31:26","modified_gmt":"2026-05-16T23:31:26","slug":"python-collections-itertools-19","status":"publish","type":"post","link":"https:\/\/junai.ai\/blog\/python-collections-itertools-19\/","title":{"rendered":"\ud30c\uc774\uc36c collections\u00b7itertools (19\ud3b8)"},"content":{"rendered":"\n<!-- WordPress REST API \ubc1c\ud589\uc6a9 HTML (\uc790\ub3d9 \uc0dd\uc131) -->\n<!-- WP-FEATURED-MEDIA-ID: 598 -->\n<div style=\"max-width:800px;margin:0 auto;\">\n<style>\n\/* js-textbook \u2014 PostgreSQL \uad50\uc7ac \ub3d9\uc77c \ud314\ub808\ud2b8 *\/\n:root {\n  --color-primary: #336791;\n  --color-accent: #60a5fa;\n  --color-bg: #fafafa;\n  --color-bg-card: #ffffff;\n  --color-text: #1e293b;\n  --color-text-muted: #64748b;\n  --hero-start: #0f172a;\n  --hero-end: #336791;\n  --font-body: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;\n  --size-body: 17px;\n  --line-height: 1.75;\n}\n* { box-sizing: border-box; }\n.container { max-width: 760px; margin: 0 auto; padding: 0 22px 80px; }\n.hero { background: linear-gradient(135deg, var(--hero-start) 0%, var(--hero-end) 100%); color: #fff; padding: 72px 22px 56px; text-align: center; }\n.hero .badge { display: inline-block; background: rgba(96,165,250,0.18); color: var(--color-accent); padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 18px; }\n.hero h1 { margin: 0 0 18px; font-size: 36px; line-height: 1.3; letter-spacing: -0.3px; }\n.hero p.sub { margin: 0 auto; max-width: 580px; font-size: 17px; color: #bfdbfe; }\n.hero img { width: 100%; max-width: 720px; height: auto; margin: 36px auto 0; display: block; border-radius: 10px; box-shadow: 0 8px 32px rgba(0,0,0,0.3); }\n.meta { display: flex; gap: 14px; justify-content: center; margin-top: 20px; font-size: 13px; color: #93c5fd; flex-wrap: wrap; }\n.meta span::before { content: \"\u00b7\"; margin-right: 14px; color: #1e3a8a; }\n.meta span:first-child::before { content: \"\"; margin: 0; }\narticle { background: var(--color-bg-card); margin-top: -36px; padding: 44px 28px; border-radius: 14px; box-shadow: 0 2px 18px rgba(0,0,0,0.06); }\narticle p { margin: 0 0 18px; }\nh2 { font-size: 28px; line-height: 1.35; letter-spacing: -0.3px; margin: 48px 0 18px; padding-bottom: 10px; border-bottom: 2px solid var(--color-primary); }\nh2:first-of-type { margin-top: 8px; }\nh3 { font-size: 21px; line-height: 1.4; margin: 30px 0 12px; color: var(--color-primary); }\ncode { background: #f1f5f9; color: #0f172a; padding: 2px 6px; border-radius: 4px; font-family: 'SFMono-Regular', Menlo, Consolas, monospace; font-size: 0.92em; }\npre { background: #0f172a; color: #e2e8f0; padding: 18px 20px; border-radius: 10px; overflow-x: auto; font-size: 14.5px; line-height: 1.65; margin: 18px 0; }\npre code { background: transparent; color: inherit; padding: 0; }\nul, ol { margin: 0 0 18px; padding-left: 24px; }\nli { margin-bottom: 8px; }\nstrong { color: #0f172a; }\n.databox { background: #eff6ff; border-left: 4px solid var(--color-primary); padding: 18px 20px; border-radius: 6px; margin: 22px 0; }\n.databox p { margin: 0 0 8px; }\n.databox p:last-child { margin: 0; }\n.databox strong { color: var(--color-primary); }\n.warnbox { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); border-left: 4px solid #d97706; padding: 18px 20px; border-radius: 6px; margin: 22px 0; }\n.warnbox strong { color: #92400e; }\n.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 22px 0; }\ntable { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--color-bg-card); }\nth, td { padding: 11px 12px; text-align: left; border-bottom: 1px solid #e2e8f0; vertical-align: top; }\nth { background: #f1f5f9; font-weight: 700; color: #0f172a; }\ntd:first-child, th:first-child { font-weight: 700; }\n.cta { background: linear-gradient(135deg, #336791 0%, #60a5fa 100%); color: #fff; padding: 30px 24px; border-radius: 12px; margin-top: 44px; text-align: center; }\n.cta h3 { color: #fff; margin: 0 0 10px; }\n.cta p { margin: 0; color: #dbeafe; }\n.series-nav { background: #eff6ff; padding: 18px 22px; border-radius: 10px; margin-top: 24px; font-size: 14.5px; color: var(--color-text-muted); }\n.series-nav strong { color: var(--color-primary); }\n@media (max-width: 480px) {\n  .hero { padding: 52px 18px 44px; }\n  .hero h1 { font-size: 26px; }\n  .hero p.sub { font-size: 15px; }\n  article { padding: 28px 18px; border-radius: 10px; }\n  h2 { font-size: 22px; }\n  h3 { font-size: 18px; }\npre { font-size: 13px; padding: 14px 16px; }\n}\n@media (max-width: 560px) {\n  .tablewrap table, .tablewrap thead, .tablewrap tbody, .tablewrap tr, .tablewrap th, .tablewrap td { display: block; width: auto; }\n  .tablewrap thead { display: none; }\n  .tablewrap tr { margin: 0 0 14px; border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; }\n  .tablewrap td { border: none; border-bottom: 1px solid #f1f5f9; padding: 9px 14px; }\n  .tablewrap td:first-child { background: #eff6ff; font-weight: 800; font-size: 15.5px; }\n  .tablewrap td:last-child { border-bottom: none; }\n  .tablewrap td[data-label]::before { content: attr(data-label) \" \u2014 \"; font-weight: 700; color: var(--color-primary); }\n}\n<\/style>\n<header class=\"hero\">\n  <span class=\"badge\">\ud30c\uc774\uc36c \uad50\uc7ac \u00b7 19\ud3b8 \/ 27\ud3b8<\/span>\n  <h1>collections \u00b7 itertools<\/h1>\n  <p class=\"sub\">\ud45c\uc900 \ub77c\uc774\ube0c\ub7ec\ub9ac \ub450 \ubcf4\uc11d. 10\uc904\uc9dc\ub9ac \uc791\uc5c5\uc774 1\uc904\ub85c \ub05d\ub09c\ub2e4.<\/p>\n  <div class=\"meta\"><span>\uc911\uae09<\/span><span>\uc77d\ub294 \uc2dc\uac04 6\ubd84<\/span><span>2026-05-13<\/span><\/div>\n  <img decoding=\"async\" src=\"https:\/\/junai.ai\/blog\/wp-content\/uploads\/2026\/05\/hero-217.jpg\" alt=\"Counter, itertools.chain, groupby \ub97c \ud65c\uc6a9\ud55c \ucf54\ub4dc \ud654\uba74\">\n<\/header>\n\n<div class=\"container\">\n<article>\n\n<p>5\ud3b8\uc758 list, 6\ud3b8\uc758 dict \uac00 \uc785\ubb38\uc790\uc758 4\ub300 \uc790\ub8cc\uad6c\uc870\uc600\uc2b5\ub2c8\ub2e4. \uadf8\uac83\ub4e4\ub85c\ub3c4 \uac70\uc758 \ubaa8\ub4e0 \uc77c\uc774 \ub418\uc9c0\ub9cc, \uac19\uc740 \ud328\ud134\uc774 \ubc18\ubcf5\ub418\ub294 \uc791\uc5c5\uc774 \uc788\uc5b4\uc694 \u2014 <em>&#8220;\ub2e8\uc5b4 \ube48\ub3c4 \uc138\uae30&#8221;<\/em>, <em>&#8220;\ud0a4\ubcc4\ub85c \uadf8\ub8f9\ud654&#8221;<\/em>, <em>&#8220;\ub450 \ub9ac\uc2a4\ud2b8 \uc774\uc5b4 \ubd99\uc774\uae30&#8221;<\/em>, <em>&#8220;\uc21c\uc5f4\u00b7\uc870\ud569 \ub9cc\ub4e4\uae30&#8221;<\/em>. \uc9c1\uc811 \uc9dc\uba74 10-20\uc904, \ud45c\uc900 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc758 <code>collections<\/code>\u00b7<code>itertools<\/code> \ub97c \uc4f0\uba74 1-3\uc904.<\/p>\n\n<p>19\ud3b8\uc740 \uc774 \ub450 \ubaa8\ub4c8\uc758 \ub2e8\uace8 8\uac00\uc9c0\ub97c \uc815\ub9ac\ud569\ub2c8\ub2e4. \ud55c \ubc88 \uc190\uc5d0 \uc775\uc73c\uba74 \uc790\ub3d9\ud654 \ucf54\ub4dc \uc808\ub300\ub7c9\uc774 30% \uac00\uae4c\uc774 \uc904\uc5b4\uc694.<\/p>\n\n<h2>collections \u2014 4\uac00\uc9c0 \ub611\ub611\ud55c \uc790\ub8cc\uad6c\uc870<\/h2>\n\n<h3>Counter \u2014 \ube48\ub3c4 \uc138\uae30<\/h3>\n\n<pre><code>from collections import Counter\n\n# \ubb38\uc790 \ube48\ub3c4\nCounter(\"banana\")\n# Counter({'a': 3, 'n': 2, 'b': 1})\n\n# \ub2e8\uc5b4 \ube48\ub3c4\ntext = \"the quick brown fox jumps over the lazy dog the\".split()\nCounter(text).most_common(3)\n# [('the', 3), ('quick', 1), ('brown', 1)]\n\n# \ub450 Counter \uc758 \ucc28\uc774\u00b7\ud569\nc1 = Counter(\"apple\")\nc2 = Counter(\"ape\")\nc1 - c2     # Counter({'p': 1, 'l': 1})\nc1 + c2     # Counter({'a': 2, 'p': 3, 'l': 1, 'e': 2})<\/code><\/pre>\n\n<p>\uc77c\ubc18 dict \ub85c \uc9dc\uba74 6\uc904\uc774 \ud55c \uc904. \ub85c\uadf8 \ubd84\uc11d\u00b7\ud14d\uc2a4\ud2b8 \ud1b5\uacc4\uc758 \ud45c\uc900 \ub3c4\uad6c\uc785\ub2c8\ub2e4.<\/p>\n\n<h3>defaultdict \u2014 \ube48 \uac12 \uc790\ub3d9 \ucd08\uae30\ud654<\/h3>\n\n<pre><code>from collections import defaultdict\n\n# \ubcf4\ud1b5 dict \u2014 KeyError \ubc29\uc9c0\ud558\ub824\uace0 \ub9e4\ubc88 \uc870\uac74\ubb38\ngroups = {}\nfor w in words:\n    first = w[0]\n    if first not in groups:\n        groups[first] = []\n    groups[first].append(w)\n\n# defaultdict \u2014 \ud55c \uc904\ngroups = defaultdict(list)\nfor w in words:\n    groups[w[0]].append(w)\n# \uc5c6\ub294 \ud0a4 \uc811\uadfc\ud558\uba74 \ube48 list \uac00 \uc790\ub3d9 \uc0dd\uc131<\/code><\/pre>\n\n<p>\uadf8\ub8f9\ud654\u00b7\uce74\uc6b4\ud305\u00b7\uc911\ucca9 dict \ub9cc\ub4e4\uae30\uc5d0\uc11c \ube5b\ub0a9\ub2c8\ub2e4. \uae30\ubcf8\uac12 \ud568\uc218\ub97c \uc804\ub2ec\ud558\uba74 \uadf8 \ud568\uc218\uc758 \uacb0\uacfc\ub85c \uc790\ub3d9 \ucd08\uae30\ud654. <code>defaultdict(int)<\/code> \uba74 \uce74\uc6b4\ud130, <code>defaultdict(list)<\/code> \uba74 \ub9ac\uc2a4\ud2b8 \ubaa8\uc74c.<\/p>\n\n<h3>deque \u2014 \uc591\ucabd \ub05d\uc5d0\uc11c \ube60\ub978 \ud050<\/h3>\n\n<pre><code>from collections import deque\n\nq = deque([1, 2, 3])\nq.append(4)         # \ub4a4\uc5d0 \ucd94\uac00 \u2014 list \uc640 \uac19\uc74c\nq.appendleft(0)     # \uc55e\uc5d0 \ucd94\uac00 \u2014 list \ub294 O(n), deque \ub294 O(1)\nq.popleft()         # \uc55e\uc5d0\uc11c \uaebc\ub0c4 \u2014 list \ubcf4\ub2e4 \ud6e8\uc52c \ube60\ub984\n# deque([1, 2, 3, 4])\n\n# \ub108\ube44 \uc6b0\uc120 \ud0d0\uc0c9(BFS)\u00b7\uce90\uc2dc \ub77c\uc778\u00b7\ucd5c\uadfc N\uac1c \uac19\uc740 \uacf3\uc5d0 \ud45c\uc900\nrecent = deque(maxlen=5)    # \ud56d\uc0c1 \ub9c8\uc9c0\ub9c9 5\uac1c\ub9cc \uc720\uc9c0\nfor n in range(10):\n    recent.append(n)\nlist(recent)        # [5, 6, 7, 8, 9]<\/code><\/pre>\n\n<h3>namedtuple \u2014 \uac00\ubcbc\uc6b4 \ud074\ub798\uc2a4 \ub300\uc548<\/h3>\n\n<pre><code>from collections import namedtuple\n\nPoint = namedtuple(\"Point\", [\"x\", \"y\"])\np = Point(3, 4)\np.x, p.y            # (3, 4)\np[0], p[1]          # (3, 4) \u2014 \ud29c\ud50c\ucc98\ub7fc\ub3c4 \ub428\n\n# 14\ud3b8 dataclass \uc640 \ube44\uc2b7\ud55c\ub370 \ub354 \uac00\ubccd\uace0 \ubd88\ubcc0<\/code><\/pre>\n\n<h2>itertools \u2014 \ubc18\ubcf5\uc758 \uc2dc\uadf8\ub2c8\ucc98<\/h2>\n\n<h3>chain \u2014 \uc5ec\ub7ec \ub9ac\uc2a4\ud2b8\ub97c \ud55c \uc904\ub85c<\/h3>\n\n<pre><code>from itertools import chain\n\na = [1, 2, 3]\nb = [4, 5]\nc = [6, 7, 8]\nlist(chain(a, b, c))    # [1, 2, 3, 4, 5, 6, 7, 8]\n# \ub610\ub294 chain.from_iterable([a, b, c])\n\n# \uba54\ubaa8\ub9ac \ud6a8\uc728\uc801 \u2014 \uc2e4\uc81c\ub85c \uc0c8 \ub9ac\uc2a4\ud2b8\ub97c \ub9cc\ub4e4\uc9c0 \uc54a\uc74c\nfor x in chain(a, b, c):\n    print(x)<\/code><\/pre>\n\n<h3>groupby \u2014 \uc815\ub82c\ub41c \ub370\uc774\ud130\uc758 \ud0a4\ubcc4 \uadf8\ub8f9<\/h3>\n\n<pre><code>from itertools import groupby\n\ndata = [\n    (\"A\", 88), (\"A\", 92),\n    (\"B\", 75), (\"B\", 80), (\"B\", 91),\n    (\"C\", 60),\n]\n\n# \uccab \uc694\uc18c(\ud559\uc810)\ub85c \uadf8\ub8f9\ud654 \u2014 \uc785\ub825\uc740 \uadf8 \ud0a4\ub85c \ubbf8\ub9ac \uc815\ub82c\ub418\uc5b4 \uc788\uc5b4\uc57c\nfor k, group in groupby(data, key=lambda x: x[0]):\n    scores = [s for _, s in group]\n    print(f\"{k}: \ud3c9\uade0 {sum(scores)\/len(scores):.1f}\")\n# A: \ud3c9\uade0 90.0\n# B: \ud3c9\uade0 82.0\n# C: \ud3c9\uade0 60.0<\/code><\/pre>\n\n<div class=\"warnbox\">\n  <strong>\u26a0\ufe0f groupby \ub294 SQL \uc758 GROUP BY \uc640 \ub2e4\ub985\ub2c8\ub2e4.<\/strong> <em>\uc778\uc811\ud55c<\/em> \uac19\uc740 \ud0a4\ub9cc \ud55c \uadf8\ub8f9\uc73c\ub85c. <code>[A, B, A, B]<\/code> \ub97c \uadf8\ub300\ub85c \ub123\uc73c\uba74 4 \uadf8\ub8f9\uc774 \ub429\ub2c8\ub2e4. \uac19\uc740 \ud0a4\ub97c \ud55c \uacf3\uc5d0 \ubaa8\uc73c\ub824\uba74 <code>sorted()<\/code> \ub85c \uba3c\uc800 \uc815\ub82c.\n<\/div>\n\n<h3>combinations\u00b7permutations\u00b7product \u2014 \uc870\ud569\ub860<\/h3>\n\n<pre><code>from itertools import combinations, permutations, product\n\nlist(combinations([1,2,3,4], 2))    # \uc21c\uc11c \ubb34\uad00, \uc911\ubcf5 \uc5c6\uc74c\n# [(1,2), (1,3), (1,4), (2,3), (2,4), (3,4)]\n\nlist(permutations([1,2,3], 2))      # \uc21c\uc11c \uc788\uc74c\n# [(1,2), (1,3), (2,1), (2,3), (3,1), (3,2)]\n\nlist(product([1,2], [\"a\",\"b\"]))     # \ubaa8\ub4e0 \uc870\ud569 (\uacf1\uc9d1\ud569)\n# [(1,'a'), (1,'b'), (2,'a'), (2,'b')]<\/code><\/pre>\n\n<h3>cycle\u00b7count\u00b7islice \u2014 \ubb34\ud55c \ubc18\ubcf5\uc758 \uc548\uc804\ud55c \uc81c\uc5b4<\/h3>\n\n<pre><code>from itertools import cycle, count, islice\n\n# \ub77c\uc6b4\ub4dc \ub85c\ube48\ncolors = cycle([\"red\", \"green\", \"blue\"])\n[next(colors) for _ in range(7)]\n# ['red', 'green', 'blue', 'red', 'green', 'blue', 'red']\n\n# \ubb34\ud55c \uce74\uc6b4\ud130\uc5d0\uc11c \uc798\ub77c\ub0b4\uae30\nlist(islice(count(1, 2), 5))   # 1\ubd80\ud130 2\uc529, 5\uac1c\n# [1, 3, 5, 7, 9]<\/code><\/pre>\n\n<div class=\"databox\">\n  <p><strong>\ud83d\udccc itertools \uc758 \ub3c4\uad6c\ub4e4\uc740 \uac70\uc758 \ub2e4 &#8220;\uc774\ud130\ub808\uc774\ud130&#8221; \ubc18\ud658<\/strong><\/p>\n  <p>\uc2e4\uc81c \ub9ac\uc2a4\ud2b8\uac00 \uc544\ub2c8\ub77c <em>&#8220;\ud544\uc694\ud560 \ub54c \ud558\ub098\uc529 \uaebc\ub0b4\ub294 \ubc1c\uc0dd\uae30&#8221;<\/em>. \uba54\ubaa8\ub9ac \uc548\uc804\ud558\uc9c0\ub9cc <code>print(chain(a, b))<\/code> \ud558\uba74 \uac1d\uccb4 \uc8fc\uc18c\ub9cc \ubcf4\uc785\ub2c8\ub2e4. <code>list(...)<\/code> \ub85c \ud3bc\uce58\uac70\ub098 <code>for<\/code> \ub85c \uc21c\ud68c.<\/p>\n<\/div>\n\n<h2>\ub9c8\ubb34\ub9ac \u2014 \uc54c\uba74 \uac15\ub825\ud55c \ub2e8\ucd95<\/h2>\n\n<p>\uc774 8\uac00\uc9c0\ub97c \uc678\uc6b8 \ud544\uc694\ub294 \uc5c6\uc5b4\uc694. <em>&#8220;\ube48\ub3c4 \uc138\uc57c \ud55c\ub2e4 \u2192 Counter&#8221;<\/em>, <em>&#8220;\uadf8\ub8f9\ud654 \u2192 groupby (\ub610\ub294 defaultdict)&#8221;<\/em>, <em>&#8220;\uc5ec\ub7ec \ub9ac\uc2a4\ud2b8 \ud569\uce58\uae30 \u2192 chain&#8221;<\/em> \uac19\uc740 \ud2b8\ub9ac\uac70\ub9cc \uba38\ub9ac\uc5d0 \uc788\uc73c\uba74 \ub429\ub2c8\ub2e4. \uc2e4\uc81c \uc791\uc5c5\ud558\ub2e4 &#8220;\uc774\uac70 \uc9c1\uc811 \uc9dc\uae30 \uc880 \uae38\ub2e4&#8221; \uc2f6\uc73c\uba74 <code>collections<\/code>\u00b7<code>itertools<\/code> \ub97c \ud55c \ubc88 \ub5a0\uc62c\ub824\ubcf4\uc138\uc694. 90% \ub2f5\uc774 \uc788\uc5b4\uc694.<\/p>\n\n<p>\ub2e4\uc74c \ubbf8\uc158: \u2460 \ubcf8\uc778 \uc77c\uc8fc\uc77c \ub9e4\ucd9c \ub370\uc774\ud130\uc5d0\uc11c \uac00\uc7a5 \ub9ce\uc774 \ud314\ub9b0 \uc0c1\ud488 Top 3 (Counter) \u2461 \ud559\uc0dd \ub9ac\uc2a4\ud2b8\ub97c \ud559\uc810\ubcc4\ub85c \uadf8\ub8f9\ud654 (defaultdict \ub610\ub294 groupby) \u2462 1~10 \uc911 2\uac1c\uc529 \uc870\ud569 \ubaa8\ub450 \ucd9c\ub825 (combinations).<\/p>\n\n<div class=\"cta\">\n  <h3>\ub2e4\uc74c \ud3b8 \ubbf8\ub9ac\ubcf4\uae30<\/h3>\n  <p>20\ud3b8 \u2014 &#8220;\ud30c\uc774\uc36c requests&#8221;: \uc678\ubd80 \ud328\ud0a4\uc9c0 1\ubc88 \u2014 HTTP \ud074\ub77c\uc774\uc5b8\ud2b8. API \ud638\ucd9c\u00b7\uc6f9 \uc751\ub2f5 \ubc1b\uae30.<\/p>\n<\/div>\n\n<div class=\"series-nav\">\n  <strong>\ud83d\udcda 27\ud3b8 \ud30c\uc774\uc36c \uad50\uc7ac \uc2dc\ub9ac\uc988 \u2014 19\/27\ud3b8<\/strong><br>\n  \u2190 18\ud3b8 &#8220;\ud0c0\uc785 \ud78c\ud2b8&#8221; \u00b7 \ub2e4\uc74c: 20\ud3b8 &#8220;requests \uc0ac\uc6a9\ubc95&#8221;\n<\/div>\n\n<\/article>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Counter\u00b7defaultdict\u00b7deque\u00b7chain\u00b7groupby \ub4f1 \ud45c\uc900 \ub77c\uc774\ube0c\ub7ec\ub9ac \uace0\uae09. 27\ud3b8 \uad50\uc7ac 19\ud3b8.<\/p>\n","protected":false},"author":1,"featured_media":598,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-235","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts\/235","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/comments?post=235"}],"version-history":[{"count":1,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts\/235\/revisions"}],"predecessor-version":[{"id":625,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts\/235\/revisions\/625"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/media\/598"}],"wp:attachment":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/media?parent=235"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/categories?post=235"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/tags?post=235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}