{"id":656,"date":"2024-11-27T23:49:10","date_gmt":"2024-11-27T14:49:10","guid":{"rendered":"https:\/\/biz-shift.com\/?p=656"},"modified":"2024-11-27T23:49:11","modified_gmt":"2024-11-27T14:49:11","slug":"python-in-excel%e3%81%a7wordcloud%e3%82%92%e8%a9%a6%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f","status":"publish","type":"post","link":"https:\/\/biz-shift.com\/?p=656","title":{"rendered":"Python in Excel\u3067WordCloud\u3092\u8a66\u3057\u3066\u307f\u305f"},"content":{"rendered":"\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_69_1 counter-hierarchy ez-toc-counter ez-toc-white ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u76ee\u6b21<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/biz-shift.com\/?p=656\/#%E8%88%88%E5%91%B3%E3%81%8C%E6%B9%A7%E3%81%84%E3%81%9F%E3%81%AE%E3%81%A7%E8%A9%A6%E3%81%97%E3%81%A6%E3%81%BF%E3%82%8B\" title=\"\u8208\u5473\u304c\u6e67\u3044\u305f\u306e\u3067\u8a66\u3057\u3066\u307f\u308b\">\u8208\u5473\u304c\u6e67\u3044\u305f\u306e\u3067\u8a66\u3057\u3066\u307f\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/biz-shift.com\/?p=656\/#Python_in_Excel%E3%81%A8%E3%81%AF%EF%BC%9F\" title=\"Python in Excel\u3068\u306f\uff1f\">Python in Excel\u3068\u306f\uff1f<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/biz-shift.com\/?p=656\/#Python_in_Excel_%E3%82%92%E8%AA%BF%E6%9F%BB\" title=\"Python in Excel \u3092\u8abf\u67fb\">Python in Excel \u3092\u8abf\u67fb<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/biz-shift.com\/?p=656\/#%E6%A6%82%E8%A6%81\" title=\"\u6982\u8981\">\u6982\u8981<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/biz-shift.com\/?p=656\/#%E3%83%A9%E3%82%A4%E3%82%BB%E3%83%B3%E3%82%B9\" title=\"\u30e9\u30a4\u30bb\u30f3\u30b9\">\u30e9\u30a4\u30bb\u30f3\u30b9<\/a><\/li><\/ul><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/biz-shift.com\/?p=656\/#%E6%A4%9C%E8%A8%BC\" title=\"\u691c\u8a3c\">\u691c\u8a3c<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/biz-shift.com\/?p=656\/#Excel%E3%81%A7%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%9F%E3%83%86%E3%83%BC%E3%83%96%E3%83%AB\" title=\"Excel\u3067\u4f7f\u7528\u3057\u305f\u30c6\u30fc\u30d6\u30eb\">Excel\u3067\u4f7f\u7528\u3057\u305f\u30c6\u30fc\u30d6\u30eb<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/biz-shift.com\/?p=656\/#%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%9F%E3%82%B3%E3%83%BC%E3%83%89\" title=\"\u4f7f\u7528\u3057\u305f\u30b3\u30fc\u30c9\">\u4f7f\u7528\u3057\u305f\u30b3\u30fc\u30c9<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/biz-shift.com\/?p=656\/#%E3%81%A4%E3%81%BE%E3%81%A5%E3%81%84%E3%81%9F%E3%83%9D%E3%82%A4%E3%83%B3%E3%83%88\" title=\"\u3064\u307e\u3065\u3044\u305f\u30dd\u30a4\u30f3\u30c8\">\u3064\u307e\u3065\u3044\u305f\u30dd\u30a4\u30f3\u30c8<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/biz-shift.com\/?p=656\/#%E3%81%95%E3%81%84%E3%81%94%E3%81%AB\" title=\"\u3055\u3044\u3054\u306b\">\u3055\u3044\u3054\u306b<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E8%88%88%E5%91%B3%E3%81%8C%E6%B9%A7%E3%81%84%E3%81%9F%E3%81%AE%E3%81%A7%E8%A9%A6%E3%81%97%E3%81%A6%E3%81%BF%E3%82%8B\"><\/span>\u8208\u5473\u304c\u6e67\u3044\u305f\u306e\u3067\u8a66\u3057\u3066\u307f\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u3068\u308a\u3042\u3048\u305a\u3001\u69cb\u6587\u89e3\u6790\u3068\u304b\u306e\u8a71\u306f\u7f6e\u3044\u3066\u304a\u3044\u3066WordCloud\u3092\u5229\u7528\u3067\u304d\u308b\u3068\u898b\u3066\u8208\u5473\u304c\u6e67\u3044\u305f\u306e\u3067\u8a66\u3057\u3066\u307f\u307e\u3059\u3002<br>\u3068\u306f\u3044\u3048\u3001Python in Excel\u306f\u5b58\u5728\u306f\u77e5\u3063\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u4eca\u56de\u521d\u3081\u3066\u4f7f\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Python_in_Excel%E3%81%A8%E3%81%AF%EF%BC%9F\"><\/span>Python in Excel\u3068\u306f\uff1f<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u3053\u3053\u6570\u5e74\u3001VBA\u306f\u30de\u30eb\u30a6\u30a7\u30a2\u306e\u6e29\u5e8a\u306b\u306a\u308b\u306e\u3067\u3001VBA\u304c\u4f7f\u3048\u306a\u304f\u306a\u308b\u3093\u3058\u3083\u306a\u3044\u304b\u3068\u3044\u3046\u5642\u8a71\u3092\u8033\u306b\u3057\u305f\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<br>\u305d\u306e\u4e00\u74b0\u306a\u306e\u304b\u306a\uff1f\u3068\u601d\u3044\u306a\u304c\u3089 Python in Excel \u3092\u52d5\u304b\u3057\u3066\u307f\u307e\u3057\u305f\u3002<br>\u3057\u304b\u3057\u306a\u304c\u3089\u3001\u6b63\u76f4\u306a\u3068\u3053\u308dVBA\u306e\u4ee3\u308f\u308a\u306b\u4f7f\u7528\u3059\u308b\u306b\u306f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u63a5\u7d9a\u5fc5\u9808\u3060\u3063\u305f\u308a\u3001Microsoft365 \u30e9\u30a4\u30bb\u30f3\u30b9\u304c\u5fc5\u8981\u3060\u3063\u305f\u308a\u3068\u7c21\u5358\u3067\u306f\u306a\u3044\u3053\u3068\u304c\u3053\u306e\u691c\u8a3c\u3092\u901a\u3058\u3066\u3088\u304f\u5206\u304b\u3063\u305f\u3068\u3053\u308d\u3067\u3082\u3042\u308a\u307e\u3059\u3002<br>\u30e6\u30fc\u30b6\u30fc\u30d5\u30ec\u30f3\u30c9\u30ea\u30fc\u306aExcel + VBA \u304b\u3089\u8131\u3059\u308b\u306b\u306f\u3044\u308d\u3044\u308d\u3068\u30cf\u30fc\u30c9\u30eb\u304c\u9ad8\u3044\u6c17\u3082\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Python_in_Excel_%E3%82%92%E8%AA%BF%E6%9F%BB\"><\/span>Python in Excel \u3092\u8abf\u67fb<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u4eca\u56de\u3001\u307e\u3063\u305f\u304f\u5206\u304b\u3063\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u3067\u8efd\u304f\u8abf\u3079\u305f\u6982\u8981\u3092\u307e\u3068\u3081\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<br><a href=\"https:\/\/support.microsoft.com\/ja-jp\/office\/python-in-excel-%E3%81%AE%E6%A6%82%E8%A6%81-55643c2e-ff56-4168-b1ce-9428c8308545\">Python in Excel \u306e\u6982\u8981 &#8211; Microsoft \u30b5\u30dd\u30fc\u30c8<\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%A6%82%E8%A6%81\"><\/span>\u6982\u8981<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u304c\u3001Microsoft\u30af\u30e9\u30a6\u30c9\u3067\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3088\u3046\u3067\u3059\u3002<br>\u5b9f\u8cea\u3001\u30b5\u30fc\u30d0\u30fc\u30ec\u30b9\u30b3\u30f3\u30d4\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u3068\u3044\u3046\u8a8d\u8b58\u3067\u554f\u984c\u306a\u3055\u305d\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Excel \u306e Python \u306f\u3001Python \u5206\u6790\u306e\u6a5f\u80fd\u3092 Excel \u306b\u53d6\u308a\u8fbc\u307f\u307e\u3059\u3002 \u3053\u308c\u3092\u4f7f\u7528\u3057\u3066\u3001Python \u30b3\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u3066 Excel \u306e\u30c7\u30fc\u30bf\u3092\u51e6\u7406\u3057\u307e\u3059\u3002 \u30bb\u30eb\u306b Python \u3092\u76f4\u63a5\u5165\u529b\u3059\u308b\u3068\u3001Python \u8a08\u7b97\u304c Microsoft \u30af\u30e9\u30a6\u30c9\u3067\u5b9f\u884c\u3055\u308c\u3001\u7d50\u679c\u304c\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u306b\u8fd4\u3055\u308c\u307e\u3059\u3002<\/p>\n<cite><a href=\"https:\/\/support.microsoft.com\/ja-jp\/office\/python-in-excel-%E3%81%AE%E6%A6%82%E8%A6%81-55643c2e-ff56-4168-b1ce-9428c8308545\">Python in Excel \u306e\u6982\u8981 &#8211; Microsoft \u30b5\u30dd\u30fc\u30c8<\/a><\/cite><\/blockquote>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E3%83%A9%E3%82%A4%E3%82%BB%E3%83%B3%E3%82%B9\"><\/span>\u30e9\u30a4\u30bb\u30f3\u30b9<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>Microsoft 365 \u30b5\u30d6\u30b9\u30af\u30ea\u30d7\u30b7\u30e7\u30f3\u304c\u5fc5\u8981\u3002\uff08Office 2019\u3001Office 2021\u306a\u3069\u306e\u8cb7\u3044\u5207\u308a\u7248\u306f\u5229\u7528\u4e0d\u53ef\uff09<br>&#8220;Python in Excel add-on&#8221; \u3068\u3044\u3046\u30a2\u30c9\u30aa\u30f3\u30e9\u30a4\u30bb\u30f3\u30b9\u304c\u3042\u308a\u3001\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e Python \u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3048\u305f\u308a\u3001\u30a8\u30f3\u30bf\u30fc\u30d7\u30e9\u30a4\u30ba \u30ec\u30d9\u30eb\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3092\u78ba\u4fdd\u3067\u304d\u305f\u308a\u3001\u8a08\u7b97\u304c\u65e9\u304f\u306a\u308b\u7b49\u306e\u5f97\u70b9\u304c\u3042\u308b\u305d\u3046\u3067\u3059\u3002<br>\uff08\u30a8\u30f3\u30b8\u30cb\u30a2\u3068\u3057\u3066\u306f\u3001\u3082\u3046\u5358\u7d14\u306bPython\u3092\u5165\u308c\u3066openpyxl\u3092\u4f7f\u3063\u3066Excel\u3092\u51fa\u529b\u3060\u3051\u3059\u308c\u3070\u3044\u3044\u3093\u3058\u3083\u306a\u3044\u304b\u3068\u304b\u601d\u3063\u305f\u308a\u3057\u305f\u306e\u306f\u3053\u3053\u3060\u3051\u306e\u8a71\uff09<\/p>\n\n\n\n<p><a href=\"https:\/\/support.microsoft.com\/ja-jp\/office\/python-in-excel-add-on-licensing-faq-6d90fc0e-f080-4799-9d28-9754c77fb308\">Excel \u30a2\u30c9\u30aa\u30f3 \u30e9\u30a4\u30bb\u30f3\u30b9\u306e Python \u306b\u95a2\u3059\u308b FAQ &#8211; Microsoft \u30b5\u30dd\u30fc\u30c8<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%A4%9C%E8%A8%BC\"><\/span>\u691c\u8a3c<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u65e9\u901f\u691c\u8a3c\u3092\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Excel%E3%81%A7%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%9F%E3%83%86%E3%83%BC%E3%83%96%E3%83%AB\"><\/span>Excel\u3067\u4f7f\u7528\u3057\u305f\u30c6\u30fc\u30d6\u30eb<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table  width=\"33%\" border=\"1\" style=\"border-collapse: collapse\"><tbody><tr><td>Name<\/td><td>Favorite<\/td><\/tr><tr><td>1<\/td><td>Excel<\/td><\/tr><tr><td>2<\/td><td>\u30ef\u30fc\u30c9<\/td><\/tr><tr><td>3<\/td><td>PowerPoint<\/td><\/tr><tr><td>4<\/td><td>SharePoint<\/td><\/tr><tr><td>5<\/td><td>SharePoint<\/td><\/tr><tr><td>6<\/td><td>Excel<\/td><\/tr><tr><td>7<\/td><td>SharePoint<\/td><\/tr><tr><td>8<\/td><td>Excel<\/td><\/tr><tr><td>9<\/td><td>SharePoint<\/td><\/tr><tr><td>10<\/td><td>Word<\/td><\/tr><tr><td>11<\/td><td>SharePoint<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%9F%E3%82%B3%E3%83%BC%E3%83%89\"><\/span>\u4f7f\u7528\u3057\u305f\u30b3\u30fc\u30c9<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>import pandas as pd\nimport matplotlib.pyplot as plt\nfrom wordcloud import WordCloud\n\n# 'Favorite'\u5217\u306e\u30c7\u30fc\u30bf\u3092\u7d50\u5408\u3057\u3066\u30c6\u30ad\u30b9\u30c8\u306b\u3059\u308b\ndataframe = xl(\"Table1&#91;#\u3059\u3079\u3066]\", headers=True)\ntext = \" \".join(dataframe&#91;'Favorite'])\n\n# \u30ef\u30fc\u30c9\u30af\u30e9\u30a6\u30c9\u3092\u751f\u6210\nxl_font_path = excel.FontPath.JAPANESE\nwordcloud = WordCloud(font_path=xl_font_path, width=800, height=400, background_color='white').generate(text)\n\n# \u30ef\u30fc\u30c9\u30af\u30e9\u30a6\u30c9\u3092\u8868\u793a\nplt.figure(figsize=(10, 5))\nplt.imshow(wordcloud, interpolation='bilinear')\nplt.axis(\"off\")  # \u8ef8\u3092\u975e\u8868\u793a\nplt.show()<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E3%81%A4%E3%81%BE%E3%81%A5%E3%81%84%E3%81%9F%E3%83%9D%E3%82%A4%E3%83%B3%E3%83%88\"><\/span>\u3064\u307e\u3065\u3044\u305f\u30dd\u30a4\u30f3\u30c8<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u691c\u8a3c\u3092\u3057\u305f\u969b\u306e\u3064\u307e\u3065\u304d\u30dd\u30a4\u30f3\u30c8\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<br>WordCloud\u95a2\u6570\u3067font_path\u3092\u6b63\u3057\u304f\u6307\u5b9a\u3057\u306a\u3044\u3068\u3001\u65e5\u672c\u8a9e\u306f\u8c46\u8150\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;uploadedSrc&quot;:&quot;https:\\\/\\\/biz-shift.com\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/image.png&quot;,&quot;figureClassNames&quot;:&quot;wp-block-image size-large is-resized&quot;,&quot;figureStyles&quot;:null,&quot;imgClassNames&quot;:&quot;wp-image-658&quot;,&quot;imgStyles&quot;:&quot;width:311px;height:auto&quot;,&quot;targetWidth&quot;:1029,&quot;targetHeight&quot;:533,&quot;scaleAttr&quot;:false,&quot;ariaLabel&quot;:&quot;\\u753b\\u50cf\\u3092\\u62e1\\u5927&quot;,&quot;alt&quot;:&quot;&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-large is-resized wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"530\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/biz-shift.com\/wp-content\/uploads\/2024\/11\/image-1024x530.png\" alt=\"\" class=\"wp-image-658\" style=\"width:311px;height:auto\" srcset=\"https:\/\/biz-shift.com\/wp-content\/uploads\/2024\/11\/image-1024x530.png 1024w, https:\/\/biz-shift.com\/wp-content\/uploads\/2024\/11\/image-300x155.png 300w, https:\/\/biz-shift.com\/wp-content\/uploads\/2024\/11\/image-768x398.png 768w, https:\/\/biz-shift.com\/wp-content\/uploads\/2024\/11\/image.png 1029w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"\u753b\u50cf\u3092\u62e1\u5927\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"context.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"context.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u306e\u3088\u3046\u306bfont_path\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>xl_font_path = excel.FontPath.JAPANESE\nWordCloud(font_path=xl_font_path, width=800, height=400, background_color='white').generate(text)<\/code><\/pre>\n\n\n\n<p><a href=\"https:\/\/support.microsoft.com\/ja-jp\/office\/excel-%E3%83%97%E3%83%AD%E3%83%83%E3%83%88%E3%81%A8%E3%82%B0%E3%83%A9%E3%83%95%E3%81%A7-python-%E3%82%92%E4%BD%9C%E6%88%90%E3%81%99%E3%82%8B-798b5e8d-ce45-4451-8da3-f269cdad5cff\">Excel \u30d7\u30ed\u30c3\u30c8\u3068\u30b0\u30e9\u30d5\u3067 Python \u3092\u4f5c\u6210\u3059\u308b &#8211; Microsoft \u30b5\u30dd\u30fc\u30c8<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" width=\"1024\" height=\"530\" src=\"https:\/\/biz-shift.com\/wp-content\/uploads\/2024\/11\/image-1-1024x530.png\" alt=\"\" class=\"wp-image-662\" style=\"width:294px;height:auto\" srcset=\"https:\/\/biz-shift.com\/wp-content\/uploads\/2024\/11\/image-1-1024x530.png 1024w, https:\/\/biz-shift.com\/wp-content\/uploads\/2024\/11\/image-1-300x155.png 300w, https:\/\/biz-shift.com\/wp-content\/uploads\/2024\/11\/image-1-768x398.png 768w, https:\/\/biz-shift.com\/wp-content\/uploads\/2024\/11\/image-1.png 1029w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E3%81%95%E3%81%84%E3%81%94%E3%81%AB\"><\/span>\u3055\u3044\u3054\u306b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u4eca\u56de\u306f\u6b63\u76f4\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3082\u3042\u307e\u308a\u63c3\u3063\u3066\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u3069\u3046\u3059\u308c\u3070\u3044\u3044\u306e\u304b\u5206\u304b\u3089\u305a\u53f3\u5f80\u5de6\u5f80\u3057\u307e\u3057\u305f\u3002<br>\u4e00\u5fdc\u3001\u7c21\u5358\u306bWordCloud\u3092\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\uff1f\u6587\u7ae0\u304b\u3089\u983b\u51fa\u8a9e\u3092\u51fa\u3059\u306b\u306f\u66f4\u306b\u3044\u308d\u3044\u308d\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u305d\u3046\u3067\u3059\u3002\u305d\u3082\u305d\u3082Python in Excel\u3067\u3067\u304d\u308b\u306e\u304b\u3082\u602a\u3057\u3044\u3067\u3059\u3002<br>\u3067\u3059\u304c\u3001\u3053\u308c\u3060\u3051\u7c21\u5358\u306bPython\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u306e\u306f\u3059\u3054\u3044\u306a\u3041\u3068\u7d20\u76f4\u306b\u601d\u3044\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8208\u5473\u304c\u6e67\u3044\u305f\u306e\u3067\u8a66\u3057\u3066\u307f\u308b \u3068\u308a\u3042\u3048\u305a\u3001\u69cb\u6587\u89e3\u6790\u3068\u304b\u306e\u8a71\u306f\u7f6e\u3044\u3066\u304a\u3044\u3066WordCloud\u3092\u5229\u7528\u3067\u304d\u308b\u3068\u898b\u3066\u8208\u5473\u304c\u6e67\u3044\u305f\u306e\u3067\u8a66\u3057\u3066\u307f\u307e\u3059\u3002\u3068\u306f\u3044\u3048\u3001Python in Excel\u306f\u5b58\u5728\u306f\u77e5\u3063\u3066\u3044\u305f\u306e\u3067\u3059 &#8230; <\/p>\n","protected":false},"author":1,"featured_media":667,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39,2],"tags":[],"_links":{"self":[{"href":"https:\/\/biz-shift.com\/index.php?rest_route=\/wp\/v2\/posts\/656"}],"collection":[{"href":"https:\/\/biz-shift.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/biz-shift.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/biz-shift.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/biz-shift.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=656"}],"version-history":[{"count":7,"href":"https:\/\/biz-shift.com\/index.php?rest_route=\/wp\/v2\/posts\/656\/revisions"}],"predecessor-version":[{"id":668,"href":"https:\/\/biz-shift.com\/index.php?rest_route=\/wp\/v2\/posts\/656\/revisions\/668"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/biz-shift.com\/index.php?rest_route=\/wp\/v2\/media\/667"}],"wp:attachment":[{"href":"https:\/\/biz-shift.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=656"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/biz-shift.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=656"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/biz-shift.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=656"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}