{"id":1191,"date":"2025-06-02T07:09:54","date_gmt":"2025-06-01T22:09:54","guid":{"rendered":"https:\/\/beeknowledge.co.jp\/?p=1191"},"modified":"2025-06-02T07:09:56","modified_gmt":"2025-06-01T22:09:56","slug":"%e6%95%99%e8%82%b2%ef%bc%9apython%e3%81%a7%e5%a7%8b%e3%82%81%e3%82%8b%e3%83%87%e3%83%bc%e3%82%bf%e5%88%86%e6%9e%90%e5%85%a5%e9%96%80%ef%bd%9c%e3%81%af%e3%81%98%e3%82%81%e3%81%a6%e3%81%a7%e3%82%82","status":"publish","type":"post","link":"https:\/\/beeknowledge.co.jp\/?p=1191","title":{"rendered":"\u6559\u80b2\uff1aPython\u3067\u59cb\u3081\u308b\u30c7\u30fc\u30bf\u5206\u6790\u5165\u9580\uff5c\u306f\u3058\u3081\u3066\u3067\u3082\u308f\u304b\u308b\uff01"},"content":{"rendered":"<div class=\"veu_autoEyeCatchBox\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"512\" src=\"https:\/\/beeknowledge.co.jp\/wp-content\/uploads\/2025\/06\/07_07_53.jpg\" class=\"attachment-large size-large wp-post-image\" alt=\"\" srcset=\"https:\/\/beeknowledge.co.jp\/wp-content\/uploads\/2025\/06\/07_07_53.jpg 768w, https:\/\/beeknowledge.co.jp\/wp-content\/uploads\/2025\/06\/07_07_53-300x200.jpg 300w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/div>\n<!DOCTYPE html>\n<html lang=\"ja\">\n<head>\n    <meta charset=\"UTF-8\">\n    <title>Python\u3067\u59cb\u3081\u308b\u30c7\u30fc\u30bf\u5206\u6790\u5165\u9580\uff5c\u306f\u3058\u3081\u3066\u3067\u3082\u308f\u304b\u308b\uff01<\/title>\n    <meta name=\"description\" content=\"Python\u3068pandas\u3067\u59cb\u3081\u308b\u30c7\u30fc\u30bf\u5206\u6790\u306e\u8d85\u5165\u9580\u3002\u6e96\u5099\u65b9\u6cd5\u304b\u3089\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3001\u5206\u6790\u306e\u8003\u3048\u65b9\u307e\u3067\u3001\u521d\u5b66\u8005\u3067\u3082\u308f\u304b\u308b\u3088\u3046\u4e01\u5be7\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\">\n    <style>\n        body { font-family: \"Yu Gothic\", \"Meiryo\", sans-serif; line-height: 1.8; color: #333; background: #fafafa; padding: 2em; }\n        h1, h2, h3 { color: #166699; }\n        pre { background: #f4f4f4; border-radius: 6px; padding: 1em; overflow-x: auto; }\n        code { color: #276c40; }\n        .box { background: #fff; border-left: 6px solid #166699; margin: 2em 0; padding: 1em; box-shadow: 0 2px 4px #eee; }\n        .point { background: #e0f5ff; border-radius: 4px; display: inline-block; padding: 0.2em 0.6em; color: #166699; font-weight: bold; }\n        .result-table { border-collapse: collapse; margin: 1em 0; width: 100%; }\n        .result-table th, .result-table td { border: 1px solid #ccc; padding: 0.5em 1em; text-align: right; }\n        .result-table th { background: #eef7fa; }\n    <\/style>\n<\/head>\n<body>\n\n    <div class=\"box\">\n        <p>\n            \u4eca\u56de\u306f\u5c11\u3057\u8da3\u5411\u3092\u5909\u3048\u3066\u8ab0\u3067\u3082\u51fa\u6765\u305d\u3046\u306a\u30c6\u30fc\u30de\u3002\u30c7\u30fc\u30bf\u5206\u6790\u306b\u8208\u5473\u304c\u3042\u308b\u3051\u308c\u3069\u3001\u300c<b>\u3069\u3053\u304b\u3089\u59cb\u3081\u3066\u3044\u3044\u304b\u308f\u304b\u3089\u306a\u3044\u300d\u300c\u6570\u5b66\u3084\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306b\u81ea\u4fe1\u304c\u306a\u3044\u300d<\/b>\u3068\u3044\u3046\u65b9\u3005\u306b\u5411\u3051\u305f\u96d1\u306a\u8aac\u660e\u3067\u3059\u3002<br>\n            \u305d\u3093\u306a\u65b9\u306b\u5411\u3051\u3066\u3001\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c<span class=\"point\">Python<\/span>\u300d\u3068\u3044\u3046\u4eba\u6c17\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3092\u4f7f\u3063\u305f\u3001<span class=\"point\">\u30c7\u30fc\u30bf\u5206\u6790\u306e\u306f\u3058\u3081\u306e\u4e00\u6b69<\/span>\u3092\u3001\u3067\u304d\u308b\u3060\u3051\u3084\u3055\u3057\u304f\u30fb\u5177\u4f53\u7684\u306b\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\n        <\/p>\n    <\/div>\n\n    <h2>1. Python\u3068\u30c7\u30fc\u30bf\u5206\u6790\u306e\u4e16\u754c<\/h2>\n    <p>\n        \u3044\u307e\u4e16\u754c\u4e2d\u306e\u4f1a\u793e\u3084\u7814\u7a76\u6240\u3001\u5927\u5b66\u3067\u4f7f\u308f\u308c\u3066\u3044\u308b\u300c<b>Python\uff08\u30d1\u30a4\u30bd\u30f3\uff09<\/b>\u300d\u3002<br>\n        \u305d\u306e\u5927\u304d\u306a\u7406\u7531\u306f\u3001<span class=\"point\">\u30b7\u30f3\u30d7\u30eb\u3067\u899a\u3048\u3084\u3059\u3044<\/span>\u3053\u3068\u3068\u3001<span class=\"point\">\u30c7\u30fc\u30bf\u5206\u6790\u3084AI\u5411\u3051\u306e\u4fbf\u5229\u306a\u9053\u5177\uff08\u30e9\u30a4\u30d6\u30e9\u30ea\uff09\u304c\u3068\u3066\u3082\u5145\u5b9f<\/span>\u3057\u3066\u3044\u308b\u3053\u3068\u3067\u3059\u3002\n    <\/p>\n    <ul>\n        <li>\u30a8\u30af\u30bb\u30eb\u306e\u8868\u3084Web\u306e\u30c7\u30fc\u30bf\u3092\u7c21\u5358\u306b\u8aad\u307f\u8fbc\u307f\u30fb\u96c6\u8a08\u3067\u304d\u308b<\/li>\n        <li>\u30b0\u30e9\u30d5\u3084\u7d71\u8a08\u3082\u30ef\u30f3\u30e9\u30f3\u30af\u4e0a\u306e\u5206\u6790\u304c\u3067\u304d\u308b<\/li>\n        <li>\u5c06\u6765\u306eAI\u3084\u6a5f\u68b0\u5b66\u7fd2\u306b\u3082\u3064\u306a\u304c\u308b\u30b9\u30ad\u30eb<\/li>\n    <\/ul>\n    <p>\n        \u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u30c7\u30fc\u30bf\u5206\u6790\u3067\u3088\u304f\u4f7f\u308f\u308c\u308b\u300cpandas\uff08\u30d1\u30f3\u30c0\u30b9\uff09\u300d\u3068\u3044\u3046\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4e2d\u5fc3\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\n    <\/p>\n\n    <h2>2. \u5206\u6790\u6e96\u5099\uff1a\u74b0\u5883\u69cb\u7bc9\u304b\u3089\u30c7\u30fc\u30bf\u7528\u610f\u307e\u3067<\/h2>\n    <h3>Python\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n    <p>\n        \u307e\u3060Python\u3092\u5165\u308c\u3066\u3044\u306a\u3044\u65b9\u306f\u3001\u307e\u305a\u516c\u5f0f\u30b5\u30a4\u30c8\uff08<a href=\"https:\/\/www.python.org\/\" target=\"_blank\">https:\/\/www.python.org\/<\/a>\uff09\u304b\u3089\u300cDownload\u300d\u3092\u9078\u3073\u3001\u30d1\u30bd\u30b3\u30f3\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br>\n        \u6700\u8fd1\u306eWindows\u3084Mac\u306a\u3089\u300c\u6b21\u3078\u300d\u3067\u9032\u3080\u3060\u3051\u3067\u5927\u4e08\u592b\u3067\u3059\u3002\n    <\/p>\n    <h3>pandas\uff08\u30d1\u30f3\u30c0\u30b9\uff09\u3092\u5165\u308c\u3088\u3046<\/h3>\n    <p>\n        \u6b21\u306b\u3001\u5206\u6790\u7528\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u300cpandas\u300d\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<br>\n        <b>\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\uff08Windows\uff09<\/b>\u3084<b>\u30bf\u30fc\u30df\u30ca\u30eb\uff08Mac\uff09<\/b>\u3067\u4e0b\u8a18\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n    <\/p>\n    <pre><code>pip install pandas<\/code><\/pre>\n    <p>\n        <span class=\"point\">pip<\/span>\u306fPython\u306e\u4fbf\u5229\u306a\u9053\u5177\uff08\u30d1\u30c3\u30b1\u30fc\u30b8\uff09\u3092\u8ffd\u52a0\u3059\u308b\u547d\u4ee4\u3067\u3059\u3002\u4ed6\u306b\u3082<br>\n        <code>pip install matplotlib<\/code>\uff08\u30b0\u30e9\u30d5\u7528\uff09<br>\n        <code>pip install numpy<\/code>\uff08\u6570\u5024\u8a08\u7b97\u7528\uff09<br>\n        \u306a\u3069\u3082\u3001\u30c7\u30fc\u30bf\u5206\u6790\u3067\u3088\u304f\u4f7f\u3044\u307e\u3059\u3002\n    <\/p>\n    <h3>\u30b5\u30f3\u30d7\u30ebCSV\u30c7\u30fc\u30bf\u306e\u6e96\u5099<\/h3>\n    <p>\n        \u4eca\u56de\u306f\u3053\u3093\u306a\u300c\u30c6\u30b9\u30c8\u306e\u70b9\u6570\u8868\u300d\u3092\u4f7f\u3063\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u4e0b\u306e\u8868\u3092\u300csample_data.csv\u300d\u3068\u3044\u3046\u540d\u524d\u3067\u4fdd\u5b58\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n    <\/p>\n    <pre><code>\u540d\u524d,\u6570\u5b66,\u82f1\u8a9e,\u7406\u79d1\n\u4f50\u85e4,80,75,90\n\u9234\u6728,65,88,70\n\u7530\u4e2d,78,60,82\n\u9ad8\u6a4b,90,95,85\n\u4f0a\u85e4,55,72,60<\/code><\/pre>\n    <ul>\n        <li>\u300c,\uff08\u30ab\u30f3\u30de\uff09\u300d\u3067\u533a\u5207\u3089\u308c\u305f\u300cCSV\u30d5\u30a1\u30a4\u30eb\u300d\u306f\u3001\u30a8\u30af\u30bb\u30eb\u306a\u3069\u3067\u7de8\u96c6\u30fb\u4fdd\u5b58\u3067\u304d\u307e\u3059\u3002<\/li>\n        <li>\u884c\u306e\u6700\u521d\u304c\u898b\u51fa\u3057\uff08\u300c\u6570\u5b66\u300d\u306a\u3069\uff09\u3001\u305d\u306e\u4e0b\u306b\u30c7\u30fc\u30bf\u304c\u7d9a\u304d\u307e\u3059\u3002<\/li>\n    <\/ul>\n\n    <h2>3. \u306f\u3058\u3081\u3066\u306ePython\u30c7\u30fc\u30bf\u5206\u6790\uff1a\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3068\u89e3\u8aac<\/h2>\n    <h3>\u307e\u305a\u306f\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u3093\u3067\u307f\u3088\u3046<\/h3>\n    <pre><code>import pandas as pd\n\n# \u30c7\u30fc\u30bf\u306e\u8aad\u307f\u8fbc\u307f\ndf = pd.read_csv('sample_data.csv')\n\n# \u30c7\u30fc\u30bf\u306e\u5148\u982d5\u884c\u3092\u8868\u793a\nprint(df.head())\n\n# \u57fa\u672c\u7d71\u8a08\u91cf\u306e\u8868\u793a\nprint(df.describe())\n<\/code><\/pre>\n    <h3>\u3053\u306e\u30b3\u30fc\u30c9\u306e\u610f\u5473<\/h3>\n    <ul>\n        <li><code>import pandas as pd<\/code>\uff1apandas\uff08\u30d1\u30f3\u30c0\u30b9\uff09\u3068\u3044\u3046\u9053\u5177\u3092\u300cpd\u300d\u3068\u547c\u3093\u3067\u4f7f\u3044\u307e\u3059\uff08\u77ed\u7e2e\u5f62\uff09\u3002<\/li>\n        <li><code>df = pd.read_csv('sample_data.csv')<\/code>\uff1a\u300csample_data.csv\u300d\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u306e\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3001\u300cdf\u300d\u3068\u3044\u3046\u5165\u308c\u7269\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/li>\n        <li><code>print(df.head())<\/code>\uff1a\u300cdf\u300d\u306e\u6700\u521d\u306e5\u884c\uff08head\uff1d\u982d\uff09\u3060\u3051\u3092\u8868\u793a\u3057\u307e\u3059\u3002\u30c7\u30fc\u30bf\u304c\u6b63\u3057\u304f\u8aad\u307f\u8fbc\u3081\u305f\u304b\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/li>\n        <li><code>print(df.describe())<\/code>\uff1a\u6570\u5b57\u304c\u5165\u3063\u3066\u3044\u308b\u5217\uff08\u6570\u5b66\u30fb\u82f1\u8a9e\u30fb\u7406\u79d1\uff09\u306b\u3064\u3044\u3066\u3001\u5e73\u5747\uff08mean\uff09\u3001\u6700\u5927\u5024\uff08max\uff09\u3001\u6700\u5c0f\u5024\uff08min\uff09\u306a\u3069\u306e\u7d71\u8a08\u60c5\u5831\u3092\u4e00\u6c17\u306b\u51fa\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/li>\n    <\/ul>\n    <div class=\"box\">\n        <b>\u88dc\u8db3\uff1a<\/b>\u300cdf\u300d\u306f\u300c\u30c7\u30fc\u30bf\u30d5\u30ec\u30fc\u30e0\uff08DataFrame\uff09\u300d\u3068\u3044\u3046\u8868\u30c7\u30fc\u30bf\u3092\u610f\u5473\u3057\u307e\u3059\u3002\u30a8\u30af\u30bb\u30eb\u306e\u8868\u306e\u3088\u3046\u306a\u3082\u306e\u3067\u3059\u3002\n    <\/div>\n\n    <h2>4. \u5b9f\u884c\u4f8b\u3068\u7d50\u679c\u306e\u89e3\u8aac<\/h2>\n    <p>\n        \u4e0a\u306e\u30b3\u30fc\u30c9\u3092\u52d5\u304b\u3059\u3068\u3001\u307e\u305a\u306f\u3053\u3046\u3044\u3063\u305f\u8868\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\uff08\u751f\u5f92\u3054\u3068\u306e\u70b9\u6570\u4e00\u89a7\uff09\u3002\n    <\/p>\n    <pre><code>\n    \u540d\u524d   \u6570\u5b66   \u82f1\u8a9e   \u7406\u79d1\n0  \u4f50\u85e4   80    75    90\n1  \u9234\u6728   65    88    70\n2  \u7530\u4e2d   78    60    82\n3  \u9ad8\u6a4b   90    95    85\n4  \u4f0a\u85e4   55    72    60\n    <\/code><\/pre>\n    <table class=\"result-table\">\n        <tr>\n            <th><\/th><th>\u6570\u5b66<\/th><th>\u82f1\u8a9e<\/th><th>\u7406\u79d1<\/th>\n        <\/tr>\n        <tr>\n            <th>count<\/th><td>5.0<\/td><td>5.0<\/td><td>5.0<\/td>\n        <\/tr>\n        <tr>\n            <th>mean<\/th><td>73.6<\/td><td>78.0<\/td><td>77.4<\/td>\n        <\/tr>\n        <tr>\n            <th>std<\/th><td>13.69<\/td><td>13.77<\/td><td>12.20<\/td>\n        <\/tr>\n        <tr>\n            <th>min<\/th><td>55.0<\/td><td>60.0<\/td><td>60.0<\/td>\n        <\/tr>\n        <tr>\n            <th>25%<\/th><td>65.0<\/td><td>72.0<\/td><td>70.0<\/td>\n        <\/tr>\n        <tr>\n            <th>50%<\/th><td>78.0<\/td><td>75.0<\/td><td>82.0<\/td>\n        <\/tr>\n        <tr>\n            <th>75%<\/th><td>80.0<\/td><td>88.0<\/td><td>85.0<\/td>\n        <\/tr>\n        <tr>\n            <th>max<\/th><td>90.0<\/td><td>95.0<\/td><td>90.0<\/td>\n        <\/tr>\n    <\/table>\n    <h3>\u3053\u306e\u6570\u5b57\u306e\u610f\u5473<\/h3>\n    <ul>\n        <li><b>count\uff1a<\/b>\u4eba\u6570\uff08\u30c7\u30fc\u30bf\u306e\u6570\uff09\u30025\u4eba\u3002<\/li>\n        <li><b>mean\uff1a<\/b>\u5e73\u5747\u70b9\u3002<\/li>\n        <li><b>std\uff1a<\/b>\u6a19\u6e96\u504f\u5dee\uff08\u3070\u3089\u3064\u304d\u306e\u5927\u304d\u3055\u3001\u96e3\u3057\u3051\u308c\u3070\u300c\u70b9\u6570\u304c\u30d0\u30e9\u30d0\u30e9\u304b\u8fd1\u3044\u304b\u306e\u6307\u6a19\u300d\uff09\u3002<\/li>\n        <li><b>min\uff1a<\/b>\u6700\u4f4e\u70b9\u3002<\/li>\n        <li><b>25%, 50%, 75%\uff1a<\/b>\u70b9\u6570\u306e\u4e0b\u304b\u308925%\u3001\u771f\u3093\u4e2d\uff08\u4e2d\u592e\u5024\uff09\u3001\u4e0a\u304b\u308925%\u306e\u5024\u3002<\/li>\n        <li><b>max\uff1a<\/b>\u6700\u9ad8\u70b9\u3002<\/li>\n    <\/ul>\n\n    <h2>5. \u30c7\u30fc\u30bf\u304b\u3089\u3069\u3093\u306a\u3053\u3068\u304c\u5206\u304b\u308b\uff1f<\/h2>\n    <p>\n        <b>\u30c7\u30fc\u30bf\u5206\u6790\u306e\u697d\u3057\u3055\u306f\u3001\u6570\u5b57\u304b\u3089\u300c\u6c17\u3065\u304d\u300d\u3092\u5f97\u3089\u308c\u308b\u3053\u3068<\/b>\u3067\u3059\u3002\u4e0a\u306e\u4f8b\u3067\u6c17\u3065\u304f\u3053\u3068\u3092\u6574\u7406\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002\n    <\/p>\n    <ul>\n        <li><span class=\"point\">\u82f1\u8a9e<\/span>\u306e\u6700\u9ad8\u70b9\uff0895\u70b9\uff09\u304c\u4e00\u756a\u9ad8\u3044\u3002\u304c\u3093\u3070\u3063\u305f\u4eba\u304c\u3044\u308b\uff01<\/li>\n        <li><span class=\"point\">\u6570\u5b66<\/span>\u306e\u6700\u4f4e\u70b9\uff0855\u70b9\uff09\u306f\u3061\u3087\u3063\u3068\u4f4e\u3081\u3002\u82e6\u624b\u306a\u4eba\u304c\u3044\u308b\u304b\u3082\u3002<\/li>\n        <li>\u3069\u306e\u6559\u79d1\u3082\u300c\u5e73\u5747\u70b9\u300d\u3068\u300c\u4e2d\u592e\u5024\uff0850%\uff09\u300d\u304c\u308f\u304b\u308b\u3002\u4e2d\u592e\u5024\u306f\u5916\u308c\u5024\uff08\u3059\u3054\u304f\u9ad8\u3044or\u4f4e\u3044\u70b9\uff09\u304c\u3042\u3063\u3066\u3082\u5f71\u97ff\u3055\u308c\u306b\u304f\u3044\u3002<\/li>\n        <li>\u300c\u6a19\u6e96\u504f\u5dee\uff08std\uff09\u300d\u304c\u5927\u304d\u3044\u3068\u3001\u307f\u3093\u306a\u306e\u70b9\u304c\u30d0\u30e9\u30d0\u30e9\u3002\u5c0f\u3055\u3044\u3068\u307f\u3093\u306a\u4f3c\u305f\u70b9\u6570\u3002<\/li>\n        <li>\u56db\u5206\u4f4d\u6570\uff0825%, 75%\uff09\u3092\u898b\u308b\u3053\u3068\u3067\u300c\u4e0a\u4f4d\u30fb\u4e0b\u4f4d\u30b0\u30eb\u30fc\u30d7\u300d\u306e\u70b9\u6570\u306e\u5e45\u3082\u308f\u304b\u308b\u3002<\/li>\n    <\/ul>\n    <p>\n        \u3053\u3046\u3057\u3066\u300c<span class=\"point\">\u8ab0\u304c\u3069\u306e\u6559\u79d1\u3067\u5f97\u610f\u30fb\u4e0d\u5f97\u610f\u306a\u306e\u304b\u300d\u300c\u5168\u4f53\u7684\u306a\u6210\u7e3e\u30ec\u30d9\u30eb\u306f\u3069\u3046\u304b\u300d<\/span>\u304c\u6570\u5b57\u3067\u308f\u304b\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u304c\u30c7\u30fc\u30bf\u5206\u6790\u306e\u51fa\u767a\u70b9\u3067\u3059\uff01\n    <\/p>\n\n    <h2>6. \u3055\u3089\u306b\u5206\u6790\u3057\u3066\u307f\u308b\uff08\u5fdc\u7528\u4f8b\uff09<\/h2>\n    <p>\n        \u3053\u3053\u304b\u3089\u4e00\u6b69\u9032\u3093\u3067\u3001\u300c\u5e73\u5747\u70b9\u3088\u308a\u9ad8\u3044\u4eba\u306f\uff1f\u300d\u300c\u5f97\u70b9\u306e\u3070\u3089\u3064\u304d\u3092\u30b0\u30e9\u30d5\u3067\u898b\u3066\u307f\u305f\u3044\uff01\u300d\u306a\u3069\u3001\u30c7\u30fc\u30bf\u5206\u6790\u306f\u3069\u3093\u3069\u3093\u5e83\u304c\u308a\u307e\u3059\u3002\n    <\/p>\n    <h3>\u5e73\u5747\u70b9\u3088\u308a\u9ad8\u3044\u4eba\u3092\u8868\u793a<\/h3>\n    <pre><code>\n# \u6570\u5b66\u306e\u5e73\u5747\u70b9\u3088\u308a\u9ad8\u3044\u4eba\u306e\u540d\u524d\u3068\u70b9\u6570\u3092\u8868\u793a\nmean_math = df['\u6570\u5b66'].mean()\nprint(df[df['\u6570\u5b66'] > mean_math][['\u540d\u524d', '\u6570\u5b66']])\n    <\/code><\/pre>\n    <p>\n        \u3053\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u3067\u300c\u6570\u5b66\u304c\u5e73\u5747\u3088\u308a\u9ad8\u3044\u4eba\u300d\u3060\u3051\u3092\u53d6\u308a\u51fa\u305b\u307e\u3059\u3002\u4ed6\u306e\u6559\u79d1\u3084\u6761\u4ef6\u3082\u540c\u3058\u3088\u3046\u306b\u3067\u304d\u307e\u3059\u3002\n    <\/p>\n    <h3>\u30b0\u30e9\u30d5\u3067\u53ef\u8996\u5316\uff08matplotlib\uff09<\/h3>\n    <p>\n        \u300cmatplotlib\u300d\u3068\u3044\u3046\u30b0\u30e9\u30d5\u63cf\u753b\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3046\u3068\u3001\u70b9\u6570\u306e\u5206\u5e03\u3092\u30b0\u30e9\u30d5\u306b\u3067\u304d\u307e\u3059\u3002\n    <\/p>\n    <pre><code>\nimport matplotlib.pyplot as plt\n\n# \u5404\u6559\u79d1\u306e\u70b9\u6570\u3092\u68d2\u30b0\u30e9\u30d5\u306b\u3059\u308b\ndf.set_index('\u540d\u524d')[['\u6570\u5b66','\u82f1\u8a9e','\u7406\u79d1']].plot(kind='bar')\nplt.title('\u751f\u5f92\u5225\u6559\u79d1\u70b9\u6570')\nplt.ylabel('\u70b9\u6570')\nplt.show()\n    <\/code><\/pre>\n    <p>\n        \u3053\u3046\u3059\u308c\u3070\u3001\u300c\u8ab0\u304c\u3069\u306e\u6559\u79d1\u3067\u5f37\u3044\u304b\u300d\u304c\u3072\u3068\u76ee\u3067\u308f\u304b\u308a\u307e\u3059\u3002\n    <\/p>\n\n    <h2>7. \u30c7\u30fc\u30bf\u5206\u6790\u3067\u5e83\u304c\u308b\u4e16\u754c\uff1a\u793e\u4f1a\u3084\u8da3\u5473\u3067\u6d3b\u304b\u3059\u306b\u306f\uff1f<\/h2>\n    <ul>\n        <li><b>\u5b66\u6821\u30fb\u6559\u80b2\u73fe\u5834<\/b>\uff1a\u751f\u5f92\u3054\u3068\u306e\u5f97\u610f\u30fb\u4e0d\u5f97\u610f\u3092\u628a\u63e1\u3057\u3001\u6307\u5c0e\u3084\u6559\u6750\u306e\u6539\u5584\u306b\u5f79\u7acb\u3066\u308b<\/li>\n        <li><b>\u5bb6\u8a08\u7c3f\u30fb\u5065\u5eb7\u7ba1\u7406<\/b>\uff1a\u65e5\u3005\u306e\u652f\u51fa\u3084\u6b69\u6570\u3001\u4f53\u91cd\u306a\u3069\u3092\u30b0\u30e9\u30d5\u5316\u3057\u3066\u81ea\u5df1\u7ba1\u7406<\/li>\n        <li><b>\u30d3\u30b8\u30cd\u30b9<\/b>\uff1a\u58f2\u4e0a\u30c7\u30fc\u30bf\u3084\u304a\u5ba2\u69d8\u306e\u58f0\u3092\u5206\u6790\u3057\u3066\u30b5\u30fc\u30d3\u30b9\u3092\u6539\u5584<\/li>\n        <li><b>\u8da3\u5473<\/b>\uff1a\u30b9\u30dd\u30fc\u30c4\u306e\u8a18\u9332\u3084\u30b2\u30fc\u30e0\u306e\u30b9\u30b3\u30a2\u7ba1\u7406\u3082OK\uff01<\/li>\n    <\/ul>\n    <div class=\"box\">\n        <b>\u30c7\u30fc\u30bf\u5206\u6790\u306f\u300c\u6570\u5b57\u3067\u7269\u4e8b\u3092\u898b\u308b\u529b\u300d\u3092\u4f38\u3070\u3057\u307e\u3059\u3002<br>\n        \u793e\u4f1a\u306e\u3055\u307e\u3056\u307e\u306a\u5834\u9762\u3067\u3001\u5206\u6790\u529b\u306f\u3053\u308c\u304b\u3089\u307e\u3059\u307e\u3059\u6c42\u3081\u3089\u308c\u308b\u30b9\u30ad\u30eb\u3067\u3059\u3002<\/b>\n    <\/div>\n\n    <h2>8. \u307e\u3068\u3081\uff5cPython\u30c7\u30fc\u30bf\u5206\u6790\u306e\u7b2c\u4e00\u6b69\u3092\u8e0f\u307f\u51fa\u305d\u3046<\/h2>\n    <p>\n        Python\u3068pandas\u3092\u4f7f\u3048\u3070\u3001<b>\u8ab0\u3067\u3082\u7c21\u5358\u306b\u30c7\u30fc\u30bf\u5206\u6790\u3092\u59cb\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059<\/b>\u3002\u6700\u521d\u306f\u5c0f\u3055\u306a\u8868\u304b\u3089\u3001\u5f90\u3005\u306b\u5927\u304d\u306a\u30c7\u30fc\u30bf\u3001\u5fdc\u7528\u7684\u306a\u5206\u6790\u306b\u3082\u30c1\u30e3\u30ec\u30f3\u30b8\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\n    <\/p>\n    <ul>\n        <li>Python\u3068pandas\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304b\u3089\u30b9\u30bf\u30fc\u30c8<\/li>\n        <li>CSV\u30c7\u30fc\u30bf\u306e\u8aad\u307f\u8fbc\u307f\u30fb\u8868\u793a\u30fb\u57fa\u672c\u7d71\u8a08\u91cf\u306e\u53d6\u5f97<\/li>\n        <li>\u81ea\u5206\u306a\u308a\u306e\u300c\u6c17\u3065\u304d\u300d\u3092\u898b\u3064\u3051\u308b<\/li>\n        <li>\u8208\u5473\u304c\u51fa\u305f\u3089\u3001\u30b0\u30e9\u30d5\u5316\u3084\u6a5f\u68b0\u5b66\u7fd2\u306a\u3069\u6b21\u306e\u30b9\u30c6\u30c3\u30d7\u3078<\/li>\n    <\/ul>\n    <div class=\"box\">\n        <b>\u30c7\u30fc\u30bf\u5206\u6790\u306e\u697d\u3057\u3055\u306f\u300c\u81ea\u5206\u3067\u898b\u3064\u3051\u305f\u767a\u898b\u300d\u306b\u3042\u308a\u307e\u3059\u3002<br>\n        \u307e\u305a\u306f\u6c17\u8efd\u306b\u3001\u8eab\u8fd1\u306a\u30c7\u30fc\u30bf\u304b\u3089\u59cb\u3081\u3066\u307f\u307e\u3057\u3087\u3046\uff01<\/b>\n    <\/div>\n    <hr>\n    <p style=\"text-align: right; color: #888;\">\u00a9 2025 Bee Knowledge Design Inc Blog<\/p>\n<\/body>\n<\/html>\n\n","protected":false},"excerpt":{"rendered":"<p>Python\u3067\u59cb\u3081\u308b\u30c7\u30fc\u30bf\u5206\u6790\u5165\u9580\uff5c\u306f\u3058\u3081\u3066\u3067\u3082\u308f\u304b\u308b\uff01 \u4eca\u56de\u306f\u5c11\u3057\u8da3\u5411\u3092\u5909\u3048\u3066\u8ab0\u3067\u3082\u51fa\u6765\u305d\u3046\u306a\u30c6\u30fc\u30de\u3002\u30c7\u30fc\u30bf\u5206\u6790\u306b\u8208\u5473\u304c\u3042\u308b\u3051\u308c\u3069\u3001\u300c\u3069\u3053\u304b\u3089\u59cb\u3081\u3066\u3044\u3044\u304b\u308f\u304b\u3089\u306a\u3044\u300d\u300c\u6570\u5b66\u3084\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306b\u81ea\u4fe1\u304c\u306a\u3044\u300d\u3068\u3044\u3046\u65b9\u3005\u306b\u5411\u3051 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1197,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"saved_in_kubio":false,"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"sns_share_botton_hide":"","vkExUnit_sns_title":"","_vk_print_noindex":"","sitemap_hide":"","vkExUnit_EyeCatch_disable":"","_veu_custom_css":"","veu_display_promotion_alert":"common","vkexunit_cta_each_option":"","_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[6,54],"tags":[],"class_list":["post-1191","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programing","category-54"],"aioseo_notices":[],"veu_head_title_object":{"title":"","add_site_title":""},"jetpack_featured_media_url":"https:\/\/beeknowledge.co.jp\/wp-content\/uploads\/2025\/06\/07_07_53.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/beeknowledge.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/1191","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/beeknowledge.co.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/beeknowledge.co.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/beeknowledge.co.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/beeknowledge.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1191"}],"version-history":[{"count":5,"href":"https:\/\/beeknowledge.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/1191\/revisions"}],"predecessor-version":[{"id":1196,"href":"https:\/\/beeknowledge.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/1191\/revisions\/1196"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/beeknowledge.co.jp\/index.php?rest_route=\/wp\/v2\/media\/1197"}],"wp:attachment":[{"href":"https:\/\/beeknowledge.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1191"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/beeknowledge.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1191"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/beeknowledge.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}