{"id":2341,"date":"2025-10-29T19:50:18","date_gmt":"2025-10-29T10:20:18","guid":{"rendered":"https:\/\/softasia.jp\/blog\/?p=2341"},"modified":"2025-10-29T19:50:18","modified_gmt":"2025-10-29T10:20:18","slug":"python%e5%85%a5%e9%96%80%ef%bc%81set%e3%81%ae%e4%bd%bf%e3%81%84%e6%96%b9%e3%81%a8%e5%bf%9c%e7%94%a8%e4%ba%8b%e4%be%8b-%e9%87%8d%e8%a4%87%e5%89%8a%e9%99%a4%e3%81%8b%e3%82%89%e9%ab%98%e9%80%9f%e6%a4%9c","status":"publish","type":"post","link":"https:\/\/softasia.jp\/blog\/offshore\/2341\/","title":{"rendered":"Python\u5165\u9580\uff01set\u306e\u4f7f\u3044\u65b9\u3068\u5fdc\u7528\u4e8b\u4f8b \u91cd\u8907\u524a\u9664\u304b\u3089\u9ad8\u901f\u691c\u7d22\u307e\u3067\uff01"},"content":{"rendered":"<p><img loading=\"lazy\" class=\"size-medium wp-image-2345 aligncenter\" src=\"https:\/\/softasia.jp\/blog\/wp-content\/uploads\/2025\/07\/SOFT_ASIA_\u30a2\u30a4\u30ad\u30e3\u30c3\u30c1-4-300x169.png\" alt=\"\" width=\"300\" height=\"169\" srcset=\"https:\/\/softasia.jp\/blog\/wp-content\/uploads\/2025\/07\/SOFT_ASIA_\u30a2\u30a4\u30ad\u30e3\u30c3\u30c1-4-300x169.png 300w, https:\/\/softasia.jp\/blog\/wp-content\/uploads\/2025\/07\/SOFT_ASIA_\u30a2\u30a4\u30ad\u30e3\u30c3\u30c1-4-1024x576.png 1024w, https:\/\/softasia.jp\/blog\/wp-content\/uploads\/2025\/07\/SOFT_ASIA_\u30a2\u30a4\u30ad\u30e3\u30c3\u30c1-4-768x432.png 768w, https:\/\/softasia.jp\/blog\/wp-content\/uploads\/2025\/07\/SOFT_ASIA_\u30a2\u30a4\u30ad\u30e3\u30c3\u30c1-4-1536x864.png 1536w, https:\/\/softasia.jp\/blog\/wp-content\/uploads\/2025\/07\/SOFT_ASIA_\u30a2\u30a4\u30ad\u30e3\u30c3\u30c1-4.png 2048w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">Python\u306b\u306f\u591a\u5f69\u306a\u30c7\u30fc\u30bf\u69cb\u9020\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u305d\u306e\u4e2d\u3067\u3082<strong>\u300c<span style=\"text-decoration: underline;\">\u91cd\u8907\u3092\u306a\u304f\u3057\u305f\u3044<\/span>\u300d\u300c<span style=\"text-decoration: underline;\">\u52b9\u7387\u3088\u304f\u30c7\u30fc\u30bf\u3092\u7ba1\u7406\u3057\u305f\u3044<\/span>\u300d\u300c<span style=\"text-decoration: underline;\">\u96c6\u5408\u6f14\u7b97\u3092\u884c\u3044\u305f\u3044<\/span>\u300d<\/strong>\u3068\u3044\u3046\u5834\u9762\u3067\u5f37\u529b\u306b\u6d3b\u8e8d\u3059\u308b\u306e\u304c<span style=\"color: #ff0000;\"><strong>set\uff08\u30bb\u30c3\u30c8\uff09\u578b\u3067<\/strong><\/span>\u3059\u3002\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u51e6\u7406\u3084\u9ad8\u901f\u691c\u7d22\u306b\u9069\u3057\u3066\u304a\u308a\u3001\u30b7\u30f3\u30d7\u30eb\u306a\u304c\u3089\u5b9f\u52d9\u3067\u975e\u5e38\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">\u672c\u8a18\u4e8b\u3067\u306f\u3001Python\u306eset\u578b\u306b\u3064\u3044\u3066\u3001\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u304b\u3089\u5fdc\u7528\u7684\u306a\u30c6\u30af\u30cb\u30c3\u30af\u3001\u3055\u3089\u306b\u306f\u696d\u52d9\u30b7\u30fc\u30f3\u3067\u6d3b\u304b\u305b\u308b\u30e6\u30fc\u30b9\u30b1\u30fc\u30b9\u307e\u3067\u5fb9\u5e95\u7684\u306b\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u521d\u5fc3\u8005\u306f\u3082\u3061\u308d\u3093\u3001Python\u7d4c\u9a13\u8005\u3067\u3082\u77e5\u8b58\u3092\u518d\u6574\u7406\u3057\u305f\u3044\u65b9\u306b\u304a\u3059\u3059\u3081\u306e\u5185\u5bb9\u3067\u3059\u3002<\/span><\/p>\n<p>&nbsp;<\/p>\n<div id=\"toc_container\" class=\"no_bullets\"><p class=\"toc_title\">\u76ee\u6b21<\/p><ul class=\"toc_list\"><li><a href=\"#set\"><span class=\"toc_number toc_depth_1\">1<\/span> set\u3068\u306f\uff1f\u7279\u5fb4\u3068\u57fa\u672c\u69cb\u6587<\/a><ul><li><a href=\"#set-2\"><span class=\"toc_number toc_depth_2\">1.1<\/span> set\u306e\u7279\u5fb4<\/a><\/li><li><a href=\"#listtuple\"><span class=\"toc_number toc_depth_2\">1.2<\/span> list\u3084tuple\u3068\u306e\u9055\u3044<\/a><\/li><li><a href=\"#set-3\"><span class=\"toc_number toc_depth_2\">1.3<\/span> set\u306e\u4f5c\u6210\u65b9\u6cd5<\/a><\/li><\/ul><\/li><li><a href=\"#set-4\"><span class=\"toc_number toc_depth_1\">2<\/span> set\u306e\u57fa\u672c\u64cd\u4f5c<\/a><\/li><li><a href=\"#i\"><span class=\"toc_number toc_depth_1\">3<\/span> \u96c6\u5408\u6f14\u7b97\u306e\u57fa\u672c<\/a><\/li><li><a href=\"#set-5\"><span class=\"toc_number toc_depth_1\">4<\/span> \u5b9f\u52d9\u3067\u5f79\u7acb\u3064set\u306e\u5fdc\u7528\u30c6\u30af\u30cb\u30c3\u30af<\/a><ul><li><a href=\"#i-2\"><span class=\"toc_number toc_depth_2\">4.1<\/span> \u91cd\u8907\u30c7\u30fc\u30bf\u306e\u524a\u9664<\/a><\/li><li><a href=\"#i-3\"><span class=\"toc_number toc_depth_2\">4.2<\/span> \u9ad8\u901f\u306a\u691c\u7d22\u51e6\u7406<\/a><\/li><li><a href=\"#i-4\"><span class=\"toc_number toc_depth_2\">4.3<\/span> \u30ea\u30b9\u30c8\u540c\u58eb\u306e\u5171\u901a\u9805\u62bd\u51fa<\/a><\/li><li><a href=\"#i-5\"><span class=\"toc_number toc_depth_2\">4.4<\/span> \u6761\u4ef6\u4e00\u81f4\u306e\u9ad8\u901f\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0<\/a><\/li><\/ul><\/li><li><a href=\"#setfrozenset\"><span class=\"toc_number toc_depth_1\">5<\/span> set\u3068frozenset\u306e\u9055\u3044<\/a><\/li><li><a href=\"#i-6\"><span class=\"toc_number toc_depth_1\">6<\/span> \u3088\u304f\u3042\u308b\u6ce8\u610f\u70b9\u3068\u843d\u3068\u3057\u7a74<\/a><ul><li><a href=\"#i-7\"><span class=\"toc_number toc_depth_2\">6.1<\/span> \u9806\u5e8f\u304c\u4fdd\u6301\u3055\u308c\u306a\u3044<\/a><\/li><li><a href=\"#set-6\"><span class=\"toc_number toc_depth_2\">6.2<\/span> set\u306b\u683c\u7d0d\u3067\u304d\u308b\u306e\u306f\u300c\u30cf\u30c3\u30b7\u30e5\u53ef\u80fd\u300d\u306a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u307f<\/a><\/li><\/ul><\/li><li><a href=\"#i-8\"><span class=\"toc_number toc_depth_1\">7<\/span> \u307e\u3068\u3081<\/a><\/li><\/ul><\/div>\n<h2><span id=\"set\"><span style=\"font-weight: 400;\">set\u3068\u306f\uff1f\u7279\u5fb4\u3068\u57fa\u672c\u69cb\u6587<\/span><\/span><\/h2>\n<p><img loading=\"lazy\" class=\"size-medium wp-image-2346 aligncenter\" src=\"https:\/\/softasia.jp\/blog\/wp-content\/uploads\/2025\/07\/SOFT-_ASIA-19-300x200.png\" alt=\"\" width=\"300\" height=\"200\" srcset=\"https:\/\/softasia.jp\/blog\/wp-content\/uploads\/2025\/07\/SOFT-_ASIA-19-300x200.png 300w, https:\/\/softasia.jp\/blog\/wp-content\/uploads\/2025\/07\/SOFT-_ASIA-19.png 640w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3><span id=\"set-2\"><span style=\"font-weight: 400;\">set\u306e\u7279\u5fb4<\/span><\/span><\/h3>\n<p><span style=\"font-weight: 400;\"><span style=\"text-decoration: underline;\"><strong>Python\u306eset\u578b\u306f\u3001\u30ea\u30b9\u30c8\u3084\u30bf\u30d7\u30eb\u3068\u4e26\u3076\u300c\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u578b\u300d\u30c7\u30fc\u30bf\u69cb\u9020\u306e\u3072\u3068\u3064<\/strong><\/span>\u3067\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u7279\u5fb4\u304c\u3042\u308a\u307e\u3059\u3002<\/span><\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li style=\"font-weight: 400;\"><b>\u91cd\u8907\u8981\u7d20\u3092\u81ea\u52d5\u7684\u306b\u9664\u53bb<\/b><\/li>\n<li style=\"font-weight: 400;\"><b>\u8981\u7d20\u306e\u9806\u5e8f\u3092\u4fdd\u6301\u3057\u306a\u3044\uff08\uff1d\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u6307\u5b9a\u4e0d\u53ef\uff09<\/b><\/li>\n<li style=\"font-weight: 400;\"><b>\u8981\u7d20\u306e\u8ffd\u52a0\u30fb\u524a\u9664\u304c\u7c21\u5358<\/b><\/li>\n<li style=\"font-weight: 400;\"><b>\u96c6\u5408\u6f14\u7b97\uff08\u548c\u30fb\u7a4d\u30fb\u5dee\u30fb\u5bfe\u79f0\u5dee\uff09\u304c\u53ef\u80fd<\/b><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">fruits = {&#8220;apple&#8221;, &#8220;banana&#8221;, &#8220;orange&#8221;, &#8220;apple&#8221;}<\/span><\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">print(fruits)\u00a0 # \u51fa\u529b: {&#8216;banana&#8217;, &#8216;orange&#8217;, &#8216;apple&#8217;}<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">\u3053\u306e\u3088\u3046\u306b\u3001\u91cd\u8907\u3057\u3066\u3044\u305f&#8221;apple&#8221;\u304c1\u3064\u306b\u307e\u3068\u3081\u3089\u308c\u3066\u3044\u308b\u306e\u304c\u5206\u304b\u308a\u307e\u3059\u3002<\/span><\/p>\n<p>&nbsp;<\/p>\n<h3><span id=\"listtuple\"><span style=\"font-weight: 400;\">list\u3084tuple\u3068\u306e\u9055\u3044<\/span><\/span><\/h3>\n<table class=\"t1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"td1\" style=\"text-align: center;\" valign=\"top\">\n<p class=\"p1\"><b>\u7279\u5fb4<\/b><b><\/b><\/p>\n<\/td>\n<td class=\"td1\" style=\"text-align: center;\" valign=\"top\">\n<p class=\"p2\"><b>list<\/b><b><\/b><\/p>\n<\/td>\n<td class=\"td1\" style=\"text-align: center;\" valign=\"top\">\n<p class=\"p2\"><b>tuple<\/b><b><\/b><\/p>\n<\/td>\n<td class=\"td1\" style=\"text-align: center;\" valign=\"top\">\n<p class=\"p2\"><b>set<\/b><b><\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"td1\" style=\"text-align: center;\" valign=\"top\">\n<p class=\"p3\"><strong>\u91cd\u8907<\/strong><\/p>\n<\/td>\n<td class=\"td1\" style=\"text-align: center;\" valign=\"top\">\n<p class=\"p3\">\u8a31\u5bb9\u3055\u308c\u308b<\/p>\n<\/td>\n<td class=\"td1\" style=\"text-align: center;\" valign=\"top\">\n<p class=\"p3\">\u8a31\u5bb9\u3055\u308c\u308b<\/p>\n<\/td>\n<td class=\"td1\" style=\"text-align: center;\" valign=\"top\">\n<p class=\"p3\">\u8a31\u5bb9\u3055\u308c\u306a\u3044<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"td1\" style=\"text-align: center;\" valign=\"top\">\n<p class=\"p3\"><strong>\u9806\u5e8f<\/strong><\/p>\n<\/td>\n<td class=\"td1\" style=\"text-align: center;\" valign=\"top\">\n<p class=\"p3\">\u4fdd\u6301\u3055\u308c\u308b<\/p>\n<\/td>\n<td class=\"td1\" style=\"text-align: center;\" valign=\"top\">\n<p class=\"p3\">\u4fdd\u6301\u3055\u308c\u308b<\/p>\n<\/td>\n<td class=\"td1\" style=\"text-align: center;\" valign=\"top\">\n<p class=\"p3\">\u4fdd\u6301\u3055\u308c\u306a\u3044<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"td1\" style=\"text-align: center;\" valign=\"top\">\n<p class=\"p3\"><strong>\u5909\u66f4<\/strong><\/p>\n<\/td>\n<td class=\"td1\" style=\"text-align: center;\" valign=\"top\">\n<p class=\"p3\">\u53ef\u80fd\uff08\u30df\u30e5\u30fc\u30bf\u30d6\u30eb\uff09<\/p>\n<\/td>\n<td class=\"td1\" style=\"text-align: center;\" valign=\"top\">\n<p class=\"p3\">\u4e0d\u53ef\uff08\u30a4\u30df\u30e5\u30fc\u30bf\u30d6\u30eb\uff09<\/p>\n<\/td>\n<td class=\"td1\" style=\"text-align: center;\" valign=\"top\">\n<p class=\"p3\">\u53ef\u80fd\uff08\u30df\u30e5\u30fc\u30bf\u30d6\u30eb\uff09<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"td1\" style=\"text-align: center;\" valign=\"top\">\n<p class=\"p3\"><strong>\u4e3b\u306a\u7528\u9014<\/strong><\/p>\n<\/td>\n<td class=\"td1\" style=\"text-align: center;\" valign=\"top\">\n<p class=\"p3\">\u4e26\u3079\u3089\u308c\u305f<\/p>\n<p class=\"p3\">\u30c7\u30fc\u30bf\u306e\u64cd\u4f5c<\/p>\n<\/td>\n<td class=\"td1\" style=\"text-align: center;\" valign=\"top\">\n<p class=\"p3\">\u5909\u66f4\u3057\u306a\u3044<\/p>\n<p class=\"p3\">\u30c7\u30fc\u30bf\u306e\u4fdd\u6301<\/p>\n<\/td>\n<td class=\"td1\" style=\"text-align: center;\" valign=\"top\">\n<p class=\"p3\">\u91cd\u8907\u306e\u306a\u3044<\/p>\n<p class=\"p3\">\u30c7\u30fc\u30bf\u7ba1\u7406\u30fb\u96c6\u5408\u6f14\u7b97<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">\u4f8b\u3048\u3070\u3001<span style=\"text-decoration: underline;\"><strong>\u9806\u5e8f\u4ed8\u304d\u3067\u5c65\u6b74\u3084\u30bf\u30b9\u30af\u3092\u6271\u3044\u305f\u3044\u5834\u5408\u306flist<\/strong><\/span>\u3092\u3001<span style=\"text-decoration: underline;\"><strong>\u56fa\u5b9a\u3055\u308c\u305f\u8a2d\u5b9a\u5024\u306e\u4fdd\u6301\u306b\u306ftupl<\/strong><strong>e<\/strong><\/span>\u3092\u3001<span style=\"text-decoration: underline;\"><strong>\u91cd\u8907\u306e\u306a\u3044\u30c7\u30fc\u30bf\u6bd4\u8f03\u3084\u691c\u7d22\u3092\u884c\u3044\u305f\u3044\u5834\u5408\u306fset<\/strong><\/span>\u3092\u9078\u3076\u3068\u9069\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n<p>&nbsp;<\/p>\n<h3><span id=\"set-3\"><span style=\"font-weight: 400;\">set\u306e\u4f5c\u6210\u65b9\u6cd5<\/span><\/span><\/h3>\n<p><b>\u2460 \u6ce2\u304b\u3063\u3053\u3092\u4f7f\u3046<\/b><\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">my_set = {1, 2, 3}<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><b>\u2461 set()\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u3092\u4f7f\u3046<\/b><\/p>\n<p><span style=\"font-weight: 400;\"><span style=\"color: #0000ff;\">my_set = set([1, 2, 3, 3])<\/span>\u00a0 # \u30ea\u30b9\u30c8\u3084\u30bf\u30d7\u30eb\u304b\u3089\u4f5c\u6210\u53ef\u80fd<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><b>\u2462 \u7a7a\u306eset\u306e\u4f5c\u6210<\/b><\/p>\n<p><span style=\"font-weight: 400;\">\u7a7a\u306e\u4e2d\u304b\u3063\u3053{}\u306f\u7a7a\u306e\u8f9e\u66f8\u306b\u306a\u308b\u306e\u3067\u3001\u7a7a\u306eset\u3092\u4f5c\u308b\u306b\u306f\u5fc5\u305aset()\u3092\u4f7f\u3044\u307e\u3057\u3087\u3046\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">empty_set = set()<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><b>\u2463 \u30ea\u30b9\u30c8\u3084\u30bf\u30d7\u30eb\u304b\u3089\u5909\u63db<\/b><\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">my_list = [1, 2, 2, 3]<\/span><\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">my_set = set(my_list)<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><span style=\"color: #0000ff;\">print(my_set)\u00a0<\/span> # \u7d50\u679c: {1, 2, 3}<\/span><\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">my_tuple = (1, 2, 2, 3)<\/span><\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">my_set = set(my_tuple)<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><span style=\"color: #0000ff;\">print(my_set)\u00a0<\/span> # \u7d50\u679c: {1, 2, 3}<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><span id=\"set-4\"><span style=\"font-weight: 400;\">set\u306e\u57fa\u672c\u64cd\u4f5c<\/span><\/span><\/h2>\n<p><img loading=\"lazy\" class=\"size-medium wp-image-2348 aligncenter\" src=\"https:\/\/softasia.jp\/blog\/wp-content\/uploads\/2025\/07\/SOFT-_ASIA-20-300x200.png\" alt=\"\" width=\"300\" height=\"200\" srcset=\"https:\/\/softasia.jp\/blog\/wp-content\/uploads\/2025\/07\/SOFT-_ASIA-20-300x200.png 300w, https:\/\/softasia.jp\/blog\/wp-content\/uploads\/2025\/07\/SOFT-_ASIA-20.png 640w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><b>\u8981\u7d20\u306e\u8ffd\u52a0\u3068\u524a\u9664<\/b><\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">my_set = {1, 2, 3}<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><span style=\"color: #0000ff;\">my_set.add(4)\u00a0<\/span> # \u8ffd\u52a0<\/span><\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">print(my_set)\u00a0 # {1, 2, 3, 4}<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><span style=\"color: #0000ff;\">my_set.remove(2)\u00a0<\/span> # \u5b58\u5728\u3059\u308b\u8981\u7d20\u3092\u524a\u9664<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><span style=\"color: #0000ff;\">my_set.discard(5)\u00a0<\/span> # \u5b58\u5728\u3057\u306a\u3044\u8981\u7d20\u3067\u3082\u30a8\u30e9\u30fc\u306a\u3057<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><span style=\"color: #0000ff;\">print(my_set)\u00a0<\/span> # {1, 3, 4}<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><b>\u8981\u7d20\u306e\u5b58\u5728\u78ba\u8a8d<\/b><\/p>\n<p><span style=\"font-weight: 400;\"><span style=\"color: #0000ff;\">print(3 in my_set)\u00a0<\/span> # True<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><span style=\"color: #0000ff;\">print(10 in my_set)\u00a0<\/span> # False<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><span id=\"i\"><span style=\"font-weight: 400;\">\u96c6\u5408\u6f14\u7b97\u306e\u57fa\u672c<\/span><\/span><\/h2>\n<p><img loading=\"lazy\" class=\"size-medium wp-image-2349 aligncenter\" src=\"https:\/\/softasia.jp\/blog\/wp-content\/uploads\/2025\/07\/SOFT-_ASIA-21-300x200.png\" alt=\"\" width=\"300\" height=\"200\" srcset=\"https:\/\/softasia.jp\/blog\/wp-content\/uploads\/2025\/07\/SOFT-_ASIA-21-300x200.png 300w, https:\/\/softasia.jp\/blog\/wp-content\/uploads\/2025\/07\/SOFT-_ASIA-21.png 640w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><b>\u548c\u96c6\u5408\uff08union\uff09<\/b><\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">a = {1, 2, 3}<\/span><\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">b = {3, 4, 5}<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><span style=\"color: #0000ff;\">print(a | b)\u00a0<\/span> # {1, 2, 3, 4, 5}<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><b>\u7a4d\u96c6\u5408\uff08intersection\uff09<\/b><\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">a = {1, 2, 3}<\/span><\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">b = {3, 4, 5}<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><span style=\"color: #0000ff;\">print(a &amp; b)\u00a0<\/span> # {3}<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><b>\u5dee\u96c6\u5408\uff08difference\uff09<\/b><\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">a = {1, 2, 3}<\/span><\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">b = {3, 4, 5}<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><span style=\"color: #0000ff;\">print(a &#8211; b)<\/span>\u00a0 # {1, 2}<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><b>\u5bfe\u79f0\u5dee\uff08symmetric_difference\uff09<\/b><\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">a = {1, 2, 3}<\/span><\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">b = {3, 4, 5}<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><span style=\"color: #0000ff;\">print(a ^ b)\u00a0<\/span> # {1, 2, 4, 5}<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">\u3053\u308c\u3089\u306f\u305d\u308c\u305e\u308c<span style=\"text-decoration: underline;\"><strong>.union(), .intersection(), .difference(), .symmetric_difference()\u3068\u3044\u3063\u305f\u30e1\u30bd\u30c3\u30c9\u5f62\u5f0f\u3067\u3082\u8a18\u8ff0\u53ef\u80fd<\/strong><\/span>\u3067\u3059\u3002<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><span id=\"set-5\"><span style=\"font-weight: 400;\">\u5b9f\u52d9\u3067\u5f79\u7acb\u3064set\u306e\u5fdc\u7528\u30c6\u30af\u30cb\u30c3\u30af<\/span><\/span><\/h2>\n<p><img loading=\"lazy\" class=\"size-medium wp-image-2351 aligncenter\" src=\"https:\/\/softasia.jp\/blog\/wp-content\/uploads\/2025\/07\/SOFT-_ASIA-22-300x200.png\" alt=\"\" width=\"300\" height=\"200\" srcset=\"https:\/\/softasia.jp\/blog\/wp-content\/uploads\/2025\/07\/SOFT-_ASIA-22-300x200.png 300w, https:\/\/softasia.jp\/blog\/wp-content\/uploads\/2025\/07\/SOFT-_ASIA-22.png 640w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<h3><\/h3>\n<h3><span id=\"i-2\"><span style=\"font-weight: 400;\">\u91cd\u8907\u30c7\u30fc\u30bf\u306e\u524a\u9664<\/span><\/span><\/h3>\n<p><span style=\"text-decoration: underline;\"><strong>Web\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0\u3084\u30ed\u30b0\u96c6\u8a08\u306a\u3069\u3001\u540c\u3058\u30c7\u30fc\u30bf\u304c\u4f55\u5ea6\u3082\u73fe\u308c\u308b\u5834\u5408\u306bset\u304c\u6709\u52b9\u3067\u3059\u3002<\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">emails = [&#8220;a@example.com&#8221;, &#8220;b@example.com&#8221;, &#8220;a@example.com&#8221;]<\/span><\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">unique_emails = list(set(emails))<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><span style=\"color: #0000ff;\">print(unique_emails)<\/span>\u00a0 # [&#8216;a@example.com&#8217;, &#8216;b@example.com&#8217;]<\/span><\/p>\n<p>&nbsp;<\/p>\n<h3><span id=\"i-3\"><span style=\"font-weight: 400;\">\u9ad8\u901f\u306a\u691c\u7d22\u51e6\u7406<\/span><\/span><\/h3>\n<p><span style=\"text-decoration: underline;\"><strong>\u30ea\u30b9\u30c8\uff08list\uff09\u3068\u6bd4\u8f03\u3057\u3066\u3001set\u306ein\u6f14\u7b97\u5b50\u306f\u5e73\u5747\u7684\u306b\u9ad8\u901f\u3067\u3059\u3002<\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">import time<\/span><\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">items = list(range(1000000))<\/span><\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">target_set = set(items)<\/span><\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">start = time.time()<\/span><\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">print(999999 in target_set)<\/span><\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">print(&#8220;set\u691c\u7d22\u6642\u9593\uff1a&#8221;, time.time() &#8211; start)<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">\u30ea\u30b9\u30c8\u691c\u7d22\u3088\u308a\u3082\u306f\u308b\u304b\u306b\u77ed\u6642\u9593\u3067\u6e08\u3080\u305f\u3081\u3001\u691c\u7d22\u5bfe\u8c61\u304c\u6570\u4e07\u4ef6\u4ee5\u4e0a\u3042\u308b\u5834\u5408\u306fset\u3078\u306e\u5909\u63db\u304c\u5f37\u304f\u63a8\u5968\u3055\u308c\u307e\u3059\u3002<\/span><\/p>\n<p>&nbsp;<\/p>\n<h3><span id=\"i-4\"><span style=\"font-weight: 400;\">\u30ea\u30b9\u30c8\u540c\u58eb\u306e\u5171\u901a\u9805\u62bd\u51fa<\/span><\/span><\/h3>\n<p><span style=\"font-weight: 400; color: #0000ff;\">list1 = [1, 2, 3, 4]<\/span><\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">list2 = [3, 4, 5, 6]<\/span><\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">common = set(list1) &amp; set(list2)<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><span style=\"color: #0000ff;\">print(&#8220;\u5171\u901a\u9805\u76ee\uff1a&#8221;, common)\u00a0<\/span> # {3, 4}<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">\u91cd\u8907\u306a\u3057\u3067\u5171\u901a\u90e8\u5206\u3092\u62bd\u51fa\u3059\u308b\u969b\u3001set\u304c\u975e\u5e38\u306b\u30b7\u30f3\u30d7\u30eb\u304b\u3064\u9ad8\u901f\u3067\u3059\u3002<\/span><\/p>\n<p>&nbsp;<\/p>\n<h3><span id=\"i-5\"><span style=\"font-weight: 400;\">\u6761\u4ef6\u4e00\u81f4\u306e\u9ad8\u901f\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0<\/span><\/span><\/h3>\n<p><span style=\"font-weight: 400;\">\u4f8b\u3048\u3070\u3001\u4f1a\u54e1ID\u306e\u4e00\u89a7\u3068\u30ed\u30b0\u30c7\u30fc\u30bf\u3092\u7167\u5408\u3057\u3066\u8a72\u5f53\u3059\u308b\u3082\u306e\u3060\u3051\u62bd\u51fa\u3059\u308b\u5834\u5408:<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">valid_ids = {&#8220;U001&#8221;, &#8220;U002&#8221;, &#8220;U005&#8221;}<\/span><\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">access_logs = [&#8220;U001&#8221;, &#8220;U007&#8221;, &#8220;U002&#8221;, &#8220;U008&#8221;]<\/span><\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">matched = [uid for uid in access_logs if uid in valid_ids]<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><span style=\"color: #0000ff;\">print(matched)<\/span>\u00a0 # [&#8216;U001&#8217;, &#8216;U002&#8217;]<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><span id=\"setfrozenset\"><span style=\"font-weight: 400;\">set\u3068frozenset\u306e\u9055\u3044<\/span><\/span><\/h2>\n<p><img loading=\"lazy\" class=\"size-medium wp-image-2353 aligncenter\" src=\"https:\/\/softasia.jp\/blog\/wp-content\/uploads\/2025\/07\/SOFT-_ASIA-23-300x200.png\" alt=\"\" width=\"300\" height=\"200\" srcset=\"https:\/\/softasia.jp\/blog\/wp-content\/uploads\/2025\/07\/SOFT-_ASIA-23-300x200.png 300w, https:\/\/softasia.jp\/blog\/wp-content\/uploads\/2025\/07\/SOFT-_ASIA-23.png 640w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"text-decoration: underline;\">frozenset\u306f\u3001\u305d\u306e\u540d\u306e\u901a\u308a\u300c\u51cd\u7d50\u3055\u308c\u305fset\u300d\u3067\u3001\u5909\u66f4\u4e0d\u53ef\uff08\u30a4\u30df\u30e5\u30fc\u30bf\u30d6\u30eb\uff09\u306a\u96c6\u5408\u3067\u3059<\/span>\u3002<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">fs = frozenset([1, 2, 3])<\/span><\/p>\n<p><span style=\"font-weight: 400;\"># fs.add(4)<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\"> \u306f\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u8f9e\u66f8\u306e\u30ad\u30fc\u3068\u3057\u3066\u4f7f\u3044\u305f\u3044\u5834\u5408\u3084\u3001\u5909\u66f4\u3067\u304d\u306a\u3044\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3068\u3057\u3066\u6271\u3044\u305f\u3044\u5834\u5408\u306b\u5229\u7528\u3055\u308c\u307e\u3059\u3002<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><b>\u4e3b\u306a\u7528\u9014\u4f8b<\/b><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\"><strong>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u4e0d\u5909\u30ad\u30fc<\/strong><\/span><\/li>\n<li style=\"font-weight: 400;\"><strong>\u30ad\u30e3\u30c3\u30b7\u30e5\u51e6\u7406\u306e\u30ad\u30fc<\/strong><\/li>\n<li style=\"font-weight: 400;\"><strong>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u4e0a\u306e\u8aad\u307f\u53d6\u308a\u5c02\u7528\u30c7\u30fc\u30bf<\/strong><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2><span id=\"i-6\"><span style=\"font-weight: 400;\">\u3088\u304f\u3042\u308b\u6ce8\u610f\u70b9\u3068\u843d\u3068\u3057\u7a74<\/span><\/span><\/h2>\n<h3><img loading=\"lazy\" class=\"size-medium wp-image-2355 aligncenter\" src=\"https:\/\/softasia.jp\/blog\/wp-content\/uploads\/2025\/07\/32725375_m-300x200.jpg\" alt=\"\" width=\"300\" height=\"200\" srcset=\"https:\/\/softasia.jp\/blog\/wp-content\/uploads\/2025\/07\/32725375_m-300x200.jpg 300w, https:\/\/softasia.jp\/blog\/wp-content\/uploads\/2025\/07\/32725375_m-1024x683.jpg 1024w, https:\/\/softasia.jp\/blog\/wp-content\/uploads\/2025\/07\/32725375_m-768x512.jpg 768w, https:\/\/softasia.jp\/blog\/wp-content\/uploads\/2025\/07\/32725375_m-1536x1024.jpg 1536w, https:\/\/softasia.jp\/blog\/wp-content\/uploads\/2025\/07\/32725375_m.jpg 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/h3>\n<h3><span id=\"i-7\"><span style=\"font-weight: 400;\">\u9806\u5e8f\u304c\u4fdd\u6301\u3055\u308c\u306a\u3044<\/span><\/span><\/h3>\n<p><span style=\"font-weight: 400; color: #0000ff;\">set_sample = {&#8220;b&#8221;, &#8220;a&#8221;, &#8220;c&#8221;}<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><span style=\"color: #0000ff;\">print(set_sample)<\/span>\u00a0 # \u51fa\u529b\u9806\u306f\u30e9\u30f3\u30c0\u30e0\u306b\u898b\u3048\u308b<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\"><strong><span style=\"color: #ff0000;\">set\u306f\u9806\u5e8f\u3092\u4fdd\u8a3c\u3057\u307e\u305b\u3093\u3002<\/span><\/strong>\u9806\u756a\u3092\u6271\u3046\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u306f\u3001list\u3084collections.OrderedDict\u3092\u691c\u8a0e\u3057\u307e\u3057\u3087\u3046\u3002<\/span><\/p>\n<p>&nbsp;<\/p>\n<h3><span id=\"set-6\"><span style=\"font-weight: 400;\">set\u306b\u683c\u7d0d\u3067\u304d\u308b\u306e\u306f\u300c\u30cf\u30c3\u30b7\u30e5\u53ef\u80fd\u300d\u306a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u307f<\/span><\/span><\/h3>\n<p><span style=\"font-weight: 400;\">\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3001\u30ea\u30b9\u30c8\u3084\u8f9e\u66f8\u306a\u3069\u306e\u30df\u30e5\u30fc\u30bf\u30d6\u30eb\uff08\u5909\u66f4\u53ef\u80fd\uff09\u306a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306fset\u306b\u8ffd\u52a0\u3067\u304d\u307e\u305b\u3093\u3002<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">invalid_set = set()<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><span style=\"color: #0000ff;\"># invalid_set.add([1, 2, 3])<\/span>\u00a0 # TypeError<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">\u30bf\u30d7\u30eb\u306e\u3088\u3046\u306b\u30a4\u30df\u30e5\u30fc\u30bf\u30d6\u30eb\u3067\u3042\u308c\u3070\u3001set\u306b\u8ffd\u52a0\u53ef\u80fd\u3067\u3059\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400; color: #0000ff;\">valid_set = set()<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><span style=\"color: #0000ff;\">valid_set.add((1, 2, 3))\u00a0<\/span> # OK<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><span id=\"i-8\"><span style=\"font-weight: 400;\">\u307e\u3068\u3081<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">set\u578b\u306f\u3001\u91cd\u8907\u6392\u9664\u3001\u9ad8\u901f\u691c\u7d22\u3001\u96c6\u5408\u6f14\u7b97\u306a\u3069\u591a\u304f\u306e\u30b7\u30fc\u30f3\u3067\u52b9\u679c\u3092\u767a\u63ee\u3059\u308bPython\u306e\u91cd\u8981\u306a\u30c7\u30fc\u30bf\u578b\u3067\u3059\u3002\u7279\u306b\u30c7\u30fc\u30bf\u306e\u6574\u7406\u30fb\u6574\u5f62\u3001\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3001\u5927\u91cf\u30c7\u30fc\u30bf\u51e6\u7406\u306a\u3069\u3067set\u3092\u4f7f\u3044\u3053\u306a\u3059\u3053\u3068\u3067\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u52b9\u7387\u3068\u53ef\u8aad\u6027\u304c\u5927\u304d\u304f\u5411\u4e0a\u3057\u307e\u3059\u3002<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\u5f0a\u793e\u3067\u306f\u3001\u30c7\u30fc\u30bf\u5165\u529b\u30fb\u51e6\u7406\u306e\u52b9\u7387\u5316\u3001\u81ea\u52d5\u5316\u30c4\u30fc\u30eb\u3001\u5bfe\u8a71\u578b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306a\u3069\u3001\u304a\u5ba2\u69d8\u306e\u30d3\u30b8\u30cd\u30b9\u8ab2\u984c\u3092\u89e3\u6c7a\u3059\u308bPython\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3092\u3054\u63d0\u6848\u3044\u305f\u3057\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li><b>\u300c\u3053\u3093\u306a\u3053\u3068\u3001Python\u3067\u3067\u304d\u308b\uff1f\u300d<\/b><\/li>\n<li><b>\u300c\u65e2\u5b58\u30b7\u30b9\u30c6\u30e0\u306ePython\u5316\u3092\u691c\u8a0e\u3057\u3066\u3044\u308b\u300d<\/b><\/li>\n<li><b>\u300c\u696d\u52d9\u52b9\u7387\u3092\u4e0a\u3052\u308b\u30c4\u30fc\u30eb\u3092\u958b\u767a\u3057\u305f\u3044\u300d<\/b><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>\u3068\u3044\u3063\u305f\u3054\u8981\u671b\u304c\u3054\u3056\u3044\u307e\u3057\u305f\u3089\u3001\u305c\u3072\u304a\u6c17\u8efd\u306b<em><a href=\"https:\/\/softasia.jp\/#contact\"><span style=\"color: #3366ff;\"><strong>3ink<\/strong><\/span><\/a><\/em>\u3078\u3054\u76f8\u8ac7\u304f\u3060\u3055\u3044\u3002\u4f01\u753b\u304b\u3089\u958b\u767a\u3001\u904b\u7528\u307e\u3067\u3001\u304a\u5ba2\u69d8\u306e\u30cb\u30fc\u30ba\u306b\u5408\u308f\u305b\u305f\u6700\u9069\u306a\u958b\u767a\u3092\u30b5\u30dd\u30fc\u30c8\u3044\u305f\u3057\u307e\u3059\u3002<\/p>\n<p><br style=\"font-weight: 400;\" \/><br style=\"font-weight: 400;\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Python\u306b\u306f\u591a\u5f69\u306a\u30c7\u30fc\u30bf\u69cb\u9020\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u305d\u306e\u4e2d\u3067\u3082\u300c\u91cd\u8907\u3092\u306a\u304f\u3057\u305f\u3044\u300d\u300c\u52b9\u7387\u3088\u304f\u30c7\u30fc\u30bf\u3092\u7ba1\u7406\u3057\u305f\u3044\u300d\u300c\u96c6\u5408\u6f14\u7b97\u3092\u884c\u3044\u305f\u3044\u300d\u3068\u3044\u3046\u5834\u9762\u3067\u5f37\u529b\u306b\u6d3b\u8e8d\u3059\u308b\u306e\u304cset\uff08\u30bb\u30c3\u30c8\uff09\u578b\u3067\u3059\u3002\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u51e6\u7406\u3084\u9ad8\u901f\u691c [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":2345,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[1,9],"tags":[],"jetpack_featured_media_url":"https:\/\/softasia.jp\/blog\/wp-content\/uploads\/2025\/07\/SOFT_ASIA_\u30a2\u30a4\u30ad\u30e3\u30c3\u30c1-4.png","_links":{"self":[{"href":"https:\/\/softasia.jp\/blog\/wp-json\/wp\/v2\/posts\/2341"}],"collection":[{"href":"https:\/\/softasia.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softasia.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softasia.jp\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/softasia.jp\/blog\/wp-json\/wp\/v2\/comments?post=2341"}],"version-history":[{"count":22,"href":"https:\/\/softasia.jp\/blog\/wp-json\/wp\/v2\/posts\/2341\/revisions"}],"predecessor-version":[{"id":2402,"href":"https:\/\/softasia.jp\/blog\/wp-json\/wp\/v2\/posts\/2341\/revisions\/2402"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softasia.jp\/blog\/wp-json\/wp\/v2\/media\/2345"}],"wp:attachment":[{"href":"https:\/\/softasia.jp\/blog\/wp-json\/wp\/v2\/media?parent=2341"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softasia.jp\/blog\/wp-json\/wp\/v2\/categories?post=2341"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softasia.jp\/blog\/wp-json\/wp\/v2\/tags?post=2341"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}