{"id":3277,"date":"2025-12-19T14:38:46","date_gmt":"2025-12-19T05:38:46","guid":{"rendered":"https:\/\/www.agile-software.site\/?p=3277"},"modified":"2025-12-19T15:20:28","modified_gmt":"2025-12-19T06:20:28","slug":"%e3%80%90%e6%96%b0%e6%99%82%e4%bb%a3%e3%80%91snowflake-notebooks%e3%81%a8%e3%81%af%ef%bc%9fsql%e3%81%a8python%e3%81%8c%e3%82%b7%e3%83%bc%e3%83%a0%e3%83%ac%e3%82%b9%e3%81%ab%e8%9e%8d%e5%90%88%e3%81%99","status":"publish","type":"post","link":"https:\/\/agile-software.net\/?p=3277","title":{"rendered":"\u3010\u65b0\u6642\u4ee3\u3011Snowflake Notebooks\u3068\u306f\uff1fSQL\u3068Python\u304c\u30b7\u30fc\u30e0\u30ec\u30b9\u306b\u878d\u5408\u3059\u308b\u6700\u5f37\u306e\u30a8\u30c7\u30a3\u30bf\u3092\u5fb9\u5e95\u89e3\u8aac"},"content":{"rendered":"\n<p>\u3053\u308c\u307e\u3067\u306eSnowflake\u3067\u306e\u4f5c\u696d\u3068\u3044\u3048\u3070\u300c\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u300d\u304c\u4e3b\u6d41\u3067\u3057\u305f\u3002\u3057\u304b\u3057\u3001\u4eca\u3001\u305d\u306e\u5e38\u8b58\u3092\u5857\u308a\u66ff\u3048\u308b\u65b0\u6a5f\u80fd\u300cSnowflake Notebooks\u300d\u304c\u767b\u5834\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u300cSQL\u3060\u3051\u3067\u306f\u9650\u754c\u304c\u3042\u308b\u300d\u300cPython\u3067\u9ad8\u5ea6\u306a\u5206\u6790\u3092\u3057\u305f\u3044\u3051\u308c\u3069\u74b0\u5883\u69cb\u7bc9\u304c\u9762\u5012\u300d\u2026\u2026\u305d\u3093\u306a\u60a9\u307f\u3092\u4e00\u6c17\u306b\u89e3\u6c7a\u3059\u308b\u3053\u306e\u30c4\u30fc\u30eb\u306e\u9b45\u529b\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1. Snowflake Notebooks\u3068\u306f\uff1f<\/h2>\n\n\n\n<p>Snowflake Notebooks\u306f\u3001Jupyter Notebook\u306e\u3088\u3046\u306a\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092Snowflake\u306e\u7ba1\u7406\u753b\u9762\uff08Snowsight\uff09\u4e0a\u3067\u76f4\u63a5\u5229\u7528\u3067\u304d\u308b\u6a5f\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u6700\u5927\u306e\u7279\u5fb4\u306f\u3001\u300c1\u3064\u306e\u30ce\u30fc\u30c8\u30d6\u30c3\u30af\u5185\u3067SQL\u3068Python\uff08Snowpark\uff09\u3092\u81ea\u7531\u306b\u6df7\u305c\u3066\u66f8\u3051\u308b\u300d\u3053\u3068\u3002Snowpark Python\u3092\u5229\u7528\u3059\u308b\u305f\u3081\u3001\u30ed\u30fc\u30ab\u30ebPC\u306e\u6027\u80fd\u306b\u95a2\u4fc2\u306a\u304f\u3001Snowflake\u306e\u5f37\u529b\u306a\u8a08\u7b97\u30ea\u30bd\u30fc\u30b9\u3092\u4f7f\u3063\u3066Python\u3092\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">2. \u3053\u3053\u304c\u3059\u3054\u3044\uff013\u3064\u306e\u795e\u30dd\u30a4\u30f3\u30c8<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u2460 SQL\u306e\u7d50\u679c\u3092\u305d\u306e\u307e\u307ePython\u5909\u6570\u3078<\/h3>\n\n\n\n<p>\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u3067\u306f\u3001SQL\u306e\u7d50\u679c\u3092Python\u3067\u4f7f\u3046\u305f\u3081\u306b\u4e00\u5ea6CSV\u3067\u66f8\u304d\u51fa\u3057\u305f\u308a\u3001\u8907\u96d1\u306a\u30b3\u30cd\u30af\u30bf\u8a2d\u5b9a\u3092\u3057\u305f\u308a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3057\u305f\u3002Notebooks\u306a\u3089\u3001<strong>SQL\u30bb\u30eb\u306e\u7d50\u679c\u304c\u305d\u306e\u307e\u307ePandas\u306e\u30c7\u30fc\u30bf\u30d5\u30ec\u30fc\u30e0\u3068\u3057\u3066\u6b21\u306ePython\u30bb\u30eb\u3067\u4f7f\u3048\u307e\u3059\u3002<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u2461 \u30b0\u30e9\u30d5\u4f5c\u6210\uff08\u53ef\u8996\u5316\uff09\u304c\u6a19\u6e96\u642d\u8f09<\/h3>\n\n\n\n<p>\u3053\u308c\u307e\u3067\u306f\u5225\u306eBI\u30c4\u30fc\u30eb\u306b\u30c7\u30fc\u30bf\u3092\u98db\u3070\u3059\u5fc5\u8981\u304c\u3042\u308a\u307e\u3057\u305f\u304c\u3001Notebooks\u5185\u3067\u306f <code>Streamlit<\/code> \u3084 <code>matplotlib<\/code> \u3092\u4f7f\u3063\u3066\u3001\u305d\u306e\u5834\u3067\u7f8e\u3057\u3044\u30b0\u30e9\u30d5\u3092\u63cf\u753b\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30c7\u30fc\u30bf\u3092\u62bd\u51fa \u2794 Python\u3067\u52a0\u5de5 \u2794 \u30b0\u30e9\u30d5\u5316 \u3053\u306e\u6d41\u308c\u304c\u3001\u30d6\u30e9\u30a6\u30b61\u3064\u3067\u5b8c\u7d50\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u2462 \u74b0\u5883\u69cb\u7bc9\u300c\u30bc\u30ed\u300d<\/h3>\n\n\n\n<p>Python\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u7ba1\u7406\u306f\u975e\u5e38\u306b\u624b\u9593\u304c\u304b\u304b\u308a\u307e\u3059\u304c\u3001Snowflake Notebooks\u306f<strong>Anaconda\u3068\u306e\u63d0\u643a<\/strong>\u306b\u3088\u308a\u3001\u4e3b\u8981\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u6700\u521d\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3059\u3002 \u300c\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u8db3\u308a\u306a\u304f\u3066\u52d5\u304b\u306a\u3044\uff01\u300d\u3068\u3044\u3046\u30b9\u30c8\u30ec\u30b9\u304b\u3089\u89e3\u653e\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">3. \u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u3068\u306e\u9055\u3044\u306f\uff1f<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>\u9805\u76ee<\/strong><\/td><td><strong>\u30ef\u30fc\u30af\u30b7\u30fc\u30c8<\/strong><\/td><td><strong>Notebooks<\/strong><\/td><\/tr><\/thead><tbody><tr><td><strong>\u4e3b\u306a\u8a00\u8a9e<\/strong><\/td><td>SQL<\/td><td><strong>SQL + Python<\/strong><\/td><\/tr><tr><td><strong>\u30c7\u30fc\u30bf\u306e\u6d41\u308c<\/strong><\/td><td>\u5358\u767a\u306e\u30af\u30a8\u30ea\u5b9f\u884c<\/td><td><strong>\u4e00\u9023\u306e\u30b9\u30c8\u30fc\u30ea\u30fc\uff08\u5206\u6790\u5de5\u7a0b\uff09\u306e\u8a18\u9332<\/strong><\/td><\/tr><tr><td><strong>\u53ef\u8996\u5316<\/strong><\/td><td>\u30b7\u30f3\u30d7\u30eb\u306a\u30c1\u30e3\u30fc\u30c8<\/td><td><strong>\u9ad8\u5ea6\u306a\u30b0\u30e9\u30d5\uff08Streamlit\u9023\u643a\uff09<\/strong><\/td><\/tr><tr><td><strong>\u7528\u9014<\/strong><\/td><td>\u30c7\u30fc\u30bf\u78ba\u8a8d\u30fbDB\u64cd\u4f5c<\/td><td><strong>\u30c7\u30fc\u30bf\u5206\u6790\u30fb\u6a5f\u68b0\u5b66\u7fd2\uff08ML\uff09<\/strong><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">1. Snowflake\u304c\u81ea\u52d5\u3067\u7ba1\u7406\u3057\u3066\u304f\u308c\u308b<\/h3>\n\n\n\n<p>Snowflake Notebooks\u3092\u4f5c\u6210\u3059\u308b\u3068\u3001\u6307\u5b9a\u3057\u305f\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3068\u30b9\u30ad\u30fc\u30de\u306e\u4e2d\u306b\u300c\u30ce\u30fc\u30c8\u30d6\u30c3\u30af\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u3068\u3057\u3066\u4fdd\u5b58\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5185\u90e8\u7684\u306a\u4ed5\u7d44\u307f<\/strong>: \u5b9f\u4f53\u3068\u3057\u3066\u306f\u3001Snowflake\u304c\u7ba1\u7406\u3059\u308b\u5185\u90e8\u30b9\u30c6\u30fc\u30b8\u306e\u3088\u3046\u306a\u5834\u6240\u306b\u30d5\u30a1\u30a4\u30eb\uff08<code>.ipynb<\/code>\u5f62\u5f0f\uff09\u304c\u4fdd\u5b58\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u30e6\u30fc\u30b6\u30fc\u304b\u3089\u306f\u300c\u30c6\u30fc\u30d6\u30eb\u300d\u3084\u300c\u30d3\u30e5\u30fc\u300d\u3068\u540c\u3058\u3088\u3046\u306b\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u914d\u4e0b\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u3057\u3066\u898b\u3048\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u30e6\u30fc\u30b6\u30fc\u306e\u64cd\u4f5c<\/strong>: UI\u4e0a\u306e\u300c+ Notebook\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u3059\u3060\u3051\u3067\u5b8c\u4e86\u3067\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">2. \u300c\u30b9\u30c6\u30fc\u30b8\u300d\u304c\u5fc5\u8981\u306b\u306a\u308b\u30b1\u30fc\u30b9<\/h3>\n\n\n\n<p>\u30ce\u30fc\u30c8\u30d6\u30c3\u30af\u305d\u306e\u3082\u306e\u306e\u4f5c\u6210\u306b\u306f\u4e0d\u8981\u3067\u3059\u304c\u3001\u300c\u5916\u90e8\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3084\u30c7\u30fc\u30bf\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u307f\u305f\u3044\u300d\u3068\u3044\u3046\u5834\u5408\u306b\u306f\u3001\u30b9\u30c6\u30fc\u30b8\u304c\u95a2\u4fc2\u3057\u3066\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u81ea\u4f5c\u306ePython\u30e2\u30b8\u30e5\u30fc\u30eb<\/strong>: \u81ea\u5206\u3067\u66f8\u3044\u305f <code>.py<\/code> \u30d5\u30a1\u30a4\u30eb\u3092\u30ce\u30fc\u30c8\u30d6\u30c3\u30af\u304b\u3089\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u305d\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4e00\u5ea6<strong>\u30b9\u30c6\u30fc\u30b8<\/strong>\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3001\u30ce\u30fc\u30c8\u30d6\u30c3\u30af\u306e\u8a2d\u5b9a\u3067\u305d\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u300c\u30a4\u30f3\u30dd\u30fc\u30c8\u300d\u3068\u3057\u3066\u8ffd\u52a0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u5916\u90e8\u30c7\u30fc\u30bf<\/strong>: \u5de8\u5927\u306aCSV\u3084Parquet\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080\u969b\u3001\u305d\u308c\u3089\u304c\u5916\u90e8\u30b9\u30c6\u30fc\u30b8\uff08S3\u306a\u3069\uff09\u306b\u3042\u308b\u5834\u5408\u306f\u3001\u305d\u3053\u3078\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u9650\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">3. Git\u9023\u643a\uff08Git Integration\uff09\u3092\u4f7f\u3046\u5834\u5408<\/h3>\n\n\n\n<p>\u6700\u8fd1\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3067\u3001\u30ce\u30fc\u30c8\u30d6\u30c3\u30af\u3092<strong>GitHub\u3084GitLab\u306a\u3069\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3068\u76f4\u63a5\u540c\u671f<\/strong>\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u3053\u306e\u5834\u5408\u3001Snowflake\u5185\u306b\u300cGit\u30ea\u30dd\u30b8\u30c8\u30ea\u300d\u3068\u3044\u3046\u7279\u6b8a\u306a\u7a2e\u985e\u306e\u5916\u90e8\u30b9\u30c6\u30fc\u30b8\uff08\u306e\u3088\u3046\u306a\u3082\u306e\uff09\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u3053\u308c\u306b\u3088\u308a\u3001\u30ce\u30fc\u30c8\u30d6\u30c3\u30af\u306e\u5909\u66f4\u3092Git\u3067\u7ba1\u7406\uff08\u30b3\u30df\u30c3\u30c8\u30fb\u30d7\u30c3\u30b7\u30e5\uff09\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u30c1\u30fc\u30e0\u958b\u767a\u3067\u306f\u3053\u306e\u65b9\u6cd5\u304c\u63a8\u5968\u3055\u308c\u307e\u3059\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u308c\u307e\u3067\u306eSnowflake\u3067\u306e\u4f5c\u696d\u3068\u3044\u3048\u3070\u300c\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u300d\u304c\u4e3b\u6d41\u3067\u3057\u305f\u3002\u3057\u304b\u3057\u3001\u4eca\u3001\u305d\u306e\u5e38\u8b58\u3092\u5857\u308a\u66ff\u3048\u308b\u65b0\u6a5f\u80fd\u300cSnowflake Notebooks\u300d\u304c\u767b\u5834\u3057\u307e\u3057\u305f\u3002 \u300cSQL\u3060\u3051\u3067\u306f\u9650\u754c\u304c\u3042\u308b\u300d\u300cPython\u3067\u9ad8\u5ea6<\/p>\n","protected":false},"author":1,"featured_media":3283,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jin_ogp_image_url":"","_jin_last_featured_id":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3277","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/posts\/3277","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3277"}],"version-history":[{"count":1,"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/posts\/3277\/revisions"}],"predecessor-version":[{"id":3278,"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/posts\/3277\/revisions\/3278"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/media\/3283"}],"wp:attachment":[{"href":"https:\/\/agile-software.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3277"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}