{"id":971,"date":"2026-03-29T12:24:56","date_gmt":"2026-03-29T12:24:56","guid":{"rendered":"https:\/\/blog.nimail.cn\/?p=971"},"modified":"2026-03-29T12:24:56","modified_gmt":"2026-03-29T12:24:56","slug":"%e5%bf%ab%e9%80%9f%e5%af%b9%e6%af%94%e4%b8%a4%e4%b8%aaexcel%e8%a1%a8%e6%a0%bc%e7%9a%84%e5%b7%ae%e5%bc%82%e6%96%b9%e6%b3%95%e4%b8%8e%e5%b7%a5%e5%85%b7","status":"publish","type":"post","link":"https:\/\/blog.nimail.cn\/best-articles\/%e5%bf%ab%e9%80%9f%e5%af%b9%e6%af%94%e4%b8%a4%e4%b8%aaexcel%e8%a1%a8%e6%a0%bc%e7%9a%84%e5%b7%ae%e5%bc%82%e6%96%b9%e6%b3%95%e4%b8%8e%e5%b7%a5%e5%85%b7\/","title":{"rendered":"\u5feb\u901f\u5bf9\u6bd4\u4e24\u4e2aExcel\u8868\u683c\u7684\u5dee\u5f02\u65b9\u6cd5\u4e0e\u5de5\u5177"},"content":{"rendered":"<div>\n<h2 class='h3 mb-3'>\u5b9e\u7528\u573a\u666f\uff1a\u4ec0\u4e48\u65f6\u5019\u9700\u8981\u5bf9\u6bd4\u4e24\u4e2aExcel<\/h2>\n<p>\u5728\u65e5\u5e38\u5f00\u53d1\u6216\u6570\u636e\u6821\u9a8c\u4e2d\uff0c\u5e38\u9047\u5230<em>excel \u67e5\u8be2\u4e24\u5f20\u8868 \u4e2d \u4e0d\u540c\u7684\u6570\u636e<\/em>\u3001<em>excel\u6838\u5bf9\u4e24\u5217\u6570\u636e\u662f\u5426\u4e00\u81f4<\/em>\u7b49\u95ee\u9898\u3002\u4f5c\u4e3a\u4e00\u4e2a\u4ece\u4e8b\u6570\u636e\u5bf9\u63a5\u548c\u81ea\u52a8\u5316\u7684\u5f00\u53d1\u8005\uff0c\u6211\u7ecf\u5e38\u9700\u8981\u628a\u4e24\u4efd\u62a5\u8868\u505a\u5dee\u5f02\u5bf9\u6bd4\uff0c\u5b9a\u4f4d\u65b0\u589e\u3001\u5220\u9664\u6216\u4fee\u6539\u7684\u8bb0\u5f55\u3002<\/p>\n<div class='alert alert-info' role='alert'>\n    \u5c0f\u8d34\u58eb\uff1a\u5982\u679c\u4f60\u53ea\u662f\u4e34\u65f6\u6838\u5bf9\u4e24\u5217\uff0cExcel\u5185\u7f6e\u51fd\u6570\uff08\u5982VLOOKUP\u3001MATCH\u6216COUNTIF\uff09\u5c31\u80fd\u89e3\u51b3\uff1b\u5f53\u8868\u683c\u884c\u6570\u53d8\u5927\u6216\u6709\u591a\u5217\u9700\u8981\u6bd4\u5bf9\u65f6\uff0c\u5efa\u8bae\u7528\u811a\u672c\u6216\u5bf9\u6bd4\u5de5\u5177\u63d0\u9ad8\u6548\u7387\u3002\n  <\/div>\n<h3 class='h4 mt-4'>\u65b9\u6cd5\u4e00\uff1a\u7528Python\uff08pandas\uff09\u5feb\u901f\u5bf9\u6bd4\u4e24\u4e2a\u8868<\/h3>\n<p>\u6211\u559c\u6b22\u7528Python\u81ea\u52a8\u5316\uff0c\u4e0b\u9762\u7ed9\u51fa\u4e00\u4e2a\u5e38\u89c1\u7684\u793a\u4f8b\uff0c\u6f14\u793a\u5982\u4f55\u627e\u51fa\u4e24\u4e2aExcel\u8868\u4e2d\u7684\u4e0d\u540c\u548c\u76f8\u540c\u8bb0\u5f55\uff1a<\/p>\n<pre><code>import pandas as pd\n\n# \u8bfb\u53d6\u4e24\u4e2a\u8868\uff08\u53ef\u6362\u6210sheet\u540d\u6216\u6587\u4ef6\u8def\u5f84\uff09\ndf1 = pd.read_excel('table1.xlsx')\ndf2 = pd.read_excel('table2.xlsx')\n\n# \u5047\u8bbe\u4ee5 'id' \u5217\u4e3a\u4e3b\u952e\u8fdb\u884c\u5bf9\u6bd4\nmerged = df1.merge(df2, on='id', how='outer', indicator=True)\n\n# \u6807\u8bb0\u65b0\u589e\u3001\u5220\u9664\u3001\u76f8\u540c\nadded = merged[merged['_merge'] == 'right_only']\ndeleted = merged[merged['_merge'] == 'left_only']\nsame = merged[merged['_merge'] == 'both']\n\nprint('\u65b0\u589e\u884c\uff1a', len(added))\nprint('\u5220\u9664\u884c\uff1a', len(deleted))\nprint('\u76f8\u540c\u884c\uff1a', len(same))\n<\/code><\/pre>\n<div class='card my-3'>\n<div class='card-body'>\n<h4 class='card-title h5'>\u4e3a\u4ec0\u4e48\u7528\u8fd9\u79cd\u65b9\u5f0f\uff1f<\/h4>\n<p class='card-text'>\u8fd9\u79cd\u901a\u8fc7 <strong>merge<\/strong> + <code>indicator<\/code> \u7684\u505a\u6cd5\uff0c\u53ef\u4ee5\u5feb\u901f\u56de\u7b54\u201c<strong>\u5982\u4f55\u6bd4\u8f83\u4e24\u4e2aexcel\u7684\u5dee\u5f02<\/strong>\u201d\u548c\u201c<strong>excel\u4e24\u4e2a\u8868\u683c\u6570\u636e\u5bf9\u6bd4<\/strong>\u201d\u7b49\u95ee\u9898\uff0c\u5e76\u4e14\u5bb9\u6613\u6269\u5c55\u5230\u590d\u6742\u7684\u591a\u5217\u5bf9\u6bd4\u3002<\/p>\n<\/p><\/div>\n<\/p><\/div>\n<h3 class='h4 mt-4'>\u65b9\u6cd5\u4e8c\uff1a\u7528\u53ef\u89c6\u5316\u5de5\u5177\u5feb\u901f\u5bf9\u6bd4\uff08\u6848\u4f8b\u6f14\u793a\uff09<\/h3>\n<p>\u5982\u679c\u4f60\u4e0d\u60f3\u5199\u4ee3\u7801\uff0c\u63a8\u8350\u8bd5\u8bd5\u5728\u7ebf\u5de5\u5177\uff0c\u8fd9\u91cc\u4ee5 <a href='https:\/\/www.nimail.cn\/dev-tool\/excel-compare.html' target='_blank' rel='noopener'>nimail \u7684 Excel Compare<\/a> \u4e3a\u4f8b\u3002\u8be5\u5de5\u5177\u80fd\u505a\u5230\uff1a<\/p>\n<ul>\n<li>\u76f4\u63a5\u4e0a\u4f20\u4e24\u4e2aExcel\u6587\u4ef6\u5e76\u53ef\u89c6\u5316\u5c55\u793a\u5dee\u5f02\uff08<strong>\u5bf9\u6bd4\u4e24\u4e2aexcel\u8868\u6570\u636e\u5dee\u5f02<\/strong>\uff09\u3002<\/li>\n<li>\u652f\u6301\u6309\u4e3b\u952e\u5339\u914d\uff0c\u5feb\u901f\u627e\u51fa<em>excel\u6559\u7a0b \u5feb\u901f\u627e\u51fa\u4e0d\u540c\u8868\u683c\u4e2d\u76f8\u540c\u7684\u5185\u5bb9<\/em>\uff0c\u4e5f\u80fd\u5bfc\u51fa\u7ed3\u679c\u3002<\/li>\n<li>\u9002\u5408\u975e\u5f00\u53d1\u4eba\u5458\u6216\u60f3\u9a6c\u4e0a\u5f97\u5230\u5bf9\u6bd4\u62a5\u544a\u7684\u573a\u666f\uff08\u5c5e\u5178\u578b\u7684<strong>excel\u5bf9\u6bd4\u5de5\u5177<\/strong>\uff09\u3002<\/li>\n<\/ul>\n<div class='alert alert-warning' role='alert'>\n    \u6ce8\u610f\uff1a\u4e0a\u4f20\u654f\u611f\u6570\u636e\u524d\u8bf7\u5148\u786e\u8ba4\u9690\u79c1\u653f\u7b56\u6216\u5728\u672c\u5730\u8fd0\u884c\u811a\u672c\uff0c\u907f\u514d\u6570\u636e\u6cc4\u9732\u3002\n  <\/div>\n<h4 class='h5 mt-3'>\u793a\u4f8b\u5bf9\u6bd4\u8868\u683c\uff08\u89c6\u89c9\u5316\u793a\u610f\uff09<\/h4>\n<div class='table-responsive'>\n<table class='table table-bordered'>\n<thead>\n<tr>\n<th>id <span class='badge bg-primary'>\u8868A<\/span><\/th>\n<th>name <span class='badge bg-secondary'>\u8868A<\/span><\/th>\n<th>id <span class='badge bg-primary'>\u8868B<\/span><\/th>\n<th>name <span class='badge bg-secondary'>\u8868B<\/span><\/th>\n<th>\u72b6\u6001<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>\u5f20\u4e09<\/td>\n<td>1<\/td>\n<td>\u5f20\u4e09<\/td>\n<td>\u76f8\u540c<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>\u674e\u56db<\/td>\n<td>2<\/td>\n<td>\u674e\u56db\u6539<\/td>\n<td>\u5185\u5bb9\u4e0d\u540c<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>\u738b\u4e94<\/td>\n<td><\/td>\n<td><\/td>\n<td>\u8868A\u72ec\u6709<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<td>4<\/td>\n<td>\u8d75\u516d<\/td>\n<td>\u8868B\u72ec\u6709<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<p>\u4e0a\u8868\u662f\u4e00\u4e2a\u5178\u578b\u7684<em>excel\u6bd4\u8f83\u4e24\u4e2a\u8868\u683c\u5185\u5bb9\u662f\u5426\u4e00\u6837<\/em>\u7684\u53ef\u89c6\u5316\u8f93\u51fa\uff1a\u901a\u8fc7\u4e3b\u952e\u5bf9\u9f50\uff0c\u518d\u6bd4\u5bf9\u6bcf\u5217\u503c\uff0c\u5c31\u80fd\u5f97\u5230\u201c\u76f8\u540c\u3001\u4fee\u6539\u3001\u65b0\u589e\u3001\u5220\u9664\u201d\u56db\u7c7b\u72b6\u6001\u3002<\/p>\n<h4 class='h5 mt-3'>\u4e00\u4e9b\u5b9e\u6218\u5efa\u8bae\uff08\u4f5c\u4e3a\u5f00\u53d1\u8005\u7684\u7ecf\u9a8c\uff09<\/h4>\n<ul>\n<li>\u5c3d\u91cf\u5148\u89c4\u8303\u4e3b\u952e\u5b57\u6bb5\uff0c\u907f\u514d\u7528\u6a21\u7cca\u5339\u914d\uff1b\u8fd9\u4f1a\u8ba9<em>\u600e\u4e48\u5bf9\u6bd4\u4e24\u4e2aexcel\u6587\u6863\u7684\u6570\u636e\u5dee\u5f02<\/em>\u66f4\u53ef\u9760\u3002<\/li>\n<li>\u5bf9\u5927\u91cf\u6570\u636e\u4f7f\u7528\u811a\u672c\uff08\u5982\u4ee5\u4e0aPython\u793a\u4f8b\uff09\uff0c\u53ef\u4ee5\u628a\u5bf9\u6bd4\u8fc7\u7a0b\u81ea\u52a8\u5316\u5e76\u751f\u6210\u5dee\u5f02\u62a5\u544a\u3002<\/li>\n<li>\u5f53\u9700\u8981\u591a\u4eba\u590d\u6838\u65f6\uff0c\u9009\u62e9\u80fd\u5bfc\u51fa\u5e26\u989c\u8272\u6807\u8bb0\u7684Excel\u6216CSV\u7684\u5de5\u5177\uff0c\u4fbf\u4e8e\u6c9f\u901a\u3002<\/li>\n<\/ul>\n<div class='alert alert-success mt-3' role='alert'>\n    \u603b\u7ed3\u63d0\u793a\uff1a\u8981\u89e3\u51b3\u201c<strong>\u5982\u4f55\u6bd4\u5bf9\u4e24\u4e2aexcel\u5185\u5bb9\u662f\u5426\u4e00\u81f4<\/strong>\u201d\u7684\u95ee\u9898\uff0c\u5e38\u7528\u8def\u5f84\u662f\uff1a\u786e\u5b9a\u4e3b\u952e \u2192 \u9009\u62e9\u5bf9\u6bd4\u5de5\u5177\uff08\u811a\u672c\u6216\u5728\u7ebf\u5de5\u5177\uff09\u2192 \u5bfc\u51fa\u5dee\u5f02\u62a5\u544a\u5e76\u590d\u6838\u3002\n  <\/div>\n<p>\u5982\u679c\u4f60\u613f\u610f\uff0c\u6211\u53ef\u4ee5\u6839\u636e\u4f60\u7684\u4e24\u5f20\u8868\u7ed9\u51fa\u66f4\u5177\u4f53\u7684\u5bf9\u6bd4\u811a\u672c\u6216\u914d\u7f6e\u793a\u4f8b\uff08\u4f8b\u5982\u5982\u4f55\u5904\u7406\u7a7a\u503c\u3001\u65e5\u671f\u683c\u5f0f\u5dee\u5f02\u3001\u5217\u540d\u6620\u5c04\u7b49\uff09\u3002<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u4f5c\u4e3a\u5f00\u53d1\u8005\uff0c\u6211\u5206\u4eab\u5b9e\u7528\u7684Excel\u6570\u636e\u5bf9\u6bd4\u65b9\u6cd5\u4e0e\u5de5\u5177\uff0c\u5305\u542bPython\u793a\u4f8b\u4e0e\u5728\u7ebf\u5bf9\u6bd4\u5de5\u5177\u6848\u4f8b\uff0c\u5e2e\u52a9\u4f60\u5feb\u901f\u67e5\u627e\u4e24\u4e2a\u8868\u683c\u7684\u5dee\u5f02\u4e0e\u76f8\u540c\u9879\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[124,171,246],"class_list":["post-971","post","type-post","status-publish","format-standard","hentry","category-best-articles","tag-excel-","tag-excel"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.3.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5feb\u901f\u5bf9\u6bd4\u4e24\u4e2aExcel\u8868\u683c\u7684\u5dee\u5f02\u65b9\u6cd5\u4e0e\u5de5\u5177 - nimail blog<\/title>\n<meta name=\"description\" content=\"\u4f5c\u4e3a\u5f00\u53d1\u8005\uff0c\u6211\u5206\u4eab\u5b9e\u7528\u7684Excel\u6570\u636e\u5bf9\u6bd4\u65b9\u6cd5\u4e0e\u5de5\u5177\uff0c\u5305\u542bPython\u793a\u4f8b\u4e0e\u5728\u7ebf\u5bf9\u6bd4\u5de5\u5177\u6848\u4f8b\uff0c\u5e2e\u52a9\u4f60\u5feb\u901f\u67e5\u627e\u4e24\u4e2a\u8868\u683c\u7684\u5dee\u5f02\u4e0e\u76f8\u540c\u9879\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.nimail.cn\/best-articles\/\u5feb\u901f\u5bf9\u6bd4\u4e24\u4e2aexcel\u8868\u683c\u7684\u5dee\u5f02\u65b9\u6cd5\u4e0e\u5de5\u5177\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5feb\u901f\u5bf9\u6bd4\u4e24\u4e2aExcel\u8868\u683c\u7684\u5dee\u5f02\u65b9\u6cd5\u4e0e\u5de5\u5177 - nimail blog\" \/>\n<meta property=\"og:description\" content=\"\u4f5c\u4e3a\u5f00\u53d1\u8005\uff0c\u6211\u5206\u4eab\u5b9e\u7528\u7684Excel\u6570\u636e\u5bf9\u6bd4\u65b9\u6cd5\u4e0e\u5de5\u5177\uff0c\u5305\u542bPython\u793a\u4f8b\u4e0e\u5728\u7ebf\u5bf9\u6bd4\u5de5\u5177\u6848\u4f8b\uff0c\u5e2e\u52a9\u4f60\u5feb\u901f\u67e5\u627e\u4e24\u4e2a\u8868\u683c\u7684\u5dee\u5f02\u4e0e\u76f8\u540c\u9879\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.nimail.cn\/best-articles\/\u5feb\u901f\u5bf9\u6bd4\u4e24\u4e2aexcel\u8868\u683c\u7684\u5dee\u5f02\u65b9\u6cd5\u4e0e\u5de5\u5177\/\" \/>\n<meta property=\"og:site_name\" content=\"nimail blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-03-29T12:24:56+00:00\" \/>\n<meta name=\"author\" content=\"\u4e00\u7ebf\u7801\u519c\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u4e00\u7ebf\u7801\u519c\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.nimail.cn\/best-articles\/%e5%bf%ab%e9%80%9f%e5%af%b9%e6%af%94%e4%b8%a4%e4%b8%aaexcel%e8%a1%a8%e6%a0%bc%e7%9a%84%e5%b7%ae%e5%bc%82%e6%96%b9%e6%b3%95%e4%b8%8e%e5%b7%a5%e5%85%b7\/\",\"url\":\"https:\/\/blog.nimail.cn\/best-articles\/%e5%bf%ab%e9%80%9f%e5%af%b9%e6%af%94%e4%b8%a4%e4%b8%aaexcel%e8%a1%a8%e6%a0%bc%e7%9a%84%e5%b7%ae%e5%bc%82%e6%96%b9%e6%b3%95%e4%b8%8e%e5%b7%a5%e5%85%b7\/\",\"name\":\"\u5feb\u901f\u5bf9\u6bd4\u4e24\u4e2aExcel\u8868\u683c\u7684\u5dee\u5f02\u65b9\u6cd5\u4e0e\u5de5\u5177 - nimail blog\",\"isPartOf\":{\"@id\":\"https:\/\/blog.nimail.cn\/#website\"},\"datePublished\":\"2026-03-29T12:24:56+00:00\",\"author\":{\"@id\":\"https:\/\/blog.nimail.cn\/#\/schema\/person\/0b0e15eb489135cbe0643e4f5e8839af\"},\"description\":\"\u4f5c\u4e3a\u5f00\u53d1\u8005\uff0c\u6211\u5206\u4eab\u5b9e\u7528\u7684Excel\u6570\u636e\u5bf9\u6bd4\u65b9\u6cd5\u4e0e\u5de5\u5177\uff0c\u5305\u542bPython\u793a\u4f8b\u4e0e\u5728\u7ebf\u5bf9\u6bd4\u5de5\u5177\u6848\u4f8b\uff0c\u5e2e\u52a9\u4f60\u5feb\u901f\u67e5\u627e\u4e24\u4e2a\u8868\u683c\u7684\u5dee\u5f02\u4e0e\u76f8\u540c\u9879\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/blog.nimail.cn\/best-articles\/%e5%bf%ab%e9%80%9f%e5%af%b9%e6%af%94%e4%b8%a4%e4%b8%aaexcel%e8%a1%a8%e6%a0%bc%e7%9a%84%e5%b7%ae%e5%bc%82%e6%96%b9%e6%b3%95%e4%b8%8e%e5%b7%a5%e5%85%b7\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.nimail.cn\/best-articles\/%e5%bf%ab%e9%80%9f%e5%af%b9%e6%af%94%e4%b8%a4%e4%b8%aaexcel%e8%a1%a8%e6%a0%bc%e7%9a%84%e5%b7%ae%e5%bc%82%e6%96%b9%e6%b3%95%e4%b8%8e%e5%b7%a5%e5%85%b7\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.nimail.cn\/best-articles\/%e5%bf%ab%e9%80%9f%e5%af%b9%e6%af%94%e4%b8%a4%e4%b8%aaexcel%e8%a1%a8%e6%a0%bc%e7%9a%84%e5%b7%ae%e5%bc%82%e6%96%b9%e6%b3%95%e4%b8%8e%e5%b7%a5%e5%85%b7\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/blog.nimail.cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5feb\u901f\u5bf9\u6bd4\u4e24\u4e2aExcel\u8868\u683c\u7684\u5dee\u5f02\u65b9\u6cd5\u4e0e\u5de5\u5177\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.nimail.cn\/#website\",\"url\":\"https:\/\/blog.nimail.cn\/\",\"name\":\"nimail blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.nimail.cn\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.nimail.cn\/#\/schema\/person\/0b0e15eb489135cbe0643e4f5e8839af\",\"name\":\"\u4e00\u7ebf\u7801\u519c\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/blog.nimail.cn\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9cabb5645eed3060ef0005d4a179e6422ed56568f78c1b5d2326a4976200739c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9cabb5645eed3060ef0005d4a179e6422ed56568f78c1b5d2326a4976200739c?s=96&d=mm&r=g\",\"caption\":\"\u4e00\u7ebf\u7801\u519c\"},\"sameAs\":[\"http:\/\/blog.nimail.cn\"],\"url\":\"https:\/\/blog.nimail.cn\/author\/longzg\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5feb\u901f\u5bf9\u6bd4\u4e24\u4e2aExcel\u8868\u683c\u7684\u5dee\u5f02\u65b9\u6cd5\u4e0e\u5de5\u5177 - nimail blog","description":"\u4f5c\u4e3a\u5f00\u53d1\u8005\uff0c\u6211\u5206\u4eab\u5b9e\u7528\u7684Excel\u6570\u636e\u5bf9\u6bd4\u65b9\u6cd5\u4e0e\u5de5\u5177\uff0c\u5305\u542bPython\u793a\u4f8b\u4e0e\u5728\u7ebf\u5bf9\u6bd4\u5de5\u5177\u6848\u4f8b\uff0c\u5e2e\u52a9\u4f60\u5feb\u901f\u67e5\u627e\u4e24\u4e2a\u8868\u683c\u7684\u5dee\u5f02\u4e0e\u76f8\u540c\u9879\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.nimail.cn\/best-articles\/\u5feb\u901f\u5bf9\u6bd4\u4e24\u4e2aexcel\u8868\u683c\u7684\u5dee\u5f02\u65b9\u6cd5\u4e0e\u5de5\u5177\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5feb\u901f\u5bf9\u6bd4\u4e24\u4e2aExcel\u8868\u683c\u7684\u5dee\u5f02\u65b9\u6cd5\u4e0e\u5de5\u5177 - nimail blog","og_description":"\u4f5c\u4e3a\u5f00\u53d1\u8005\uff0c\u6211\u5206\u4eab\u5b9e\u7528\u7684Excel\u6570\u636e\u5bf9\u6bd4\u65b9\u6cd5\u4e0e\u5de5\u5177\uff0c\u5305\u542bPython\u793a\u4f8b\u4e0e\u5728\u7ebf\u5bf9\u6bd4\u5de5\u5177\u6848\u4f8b\uff0c\u5e2e\u52a9\u4f60\u5feb\u901f\u67e5\u627e\u4e24\u4e2a\u8868\u683c\u7684\u5dee\u5f02\u4e0e\u76f8\u540c\u9879\u3002","og_url":"https:\/\/blog.nimail.cn\/best-articles\/\u5feb\u901f\u5bf9\u6bd4\u4e24\u4e2aexcel\u8868\u683c\u7684\u5dee\u5f02\u65b9\u6cd5\u4e0e\u5de5\u5177\/","og_site_name":"nimail blog","article_published_time":"2026-03-29T12:24:56+00:00","author":"\u4e00\u7ebf\u7801\u519c","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u4e00\u7ebf\u7801\u519c","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/blog.nimail.cn\/best-articles\/%e5%bf%ab%e9%80%9f%e5%af%b9%e6%af%94%e4%b8%a4%e4%b8%aaexcel%e8%a1%a8%e6%a0%bc%e7%9a%84%e5%b7%ae%e5%bc%82%e6%96%b9%e6%b3%95%e4%b8%8e%e5%b7%a5%e5%85%b7\/","url":"https:\/\/blog.nimail.cn\/best-articles\/%e5%bf%ab%e9%80%9f%e5%af%b9%e6%af%94%e4%b8%a4%e4%b8%aaexcel%e8%a1%a8%e6%a0%bc%e7%9a%84%e5%b7%ae%e5%bc%82%e6%96%b9%e6%b3%95%e4%b8%8e%e5%b7%a5%e5%85%b7\/","name":"\u5feb\u901f\u5bf9\u6bd4\u4e24\u4e2aExcel\u8868\u683c\u7684\u5dee\u5f02\u65b9\u6cd5\u4e0e\u5de5\u5177 - nimail blog","isPartOf":{"@id":"https:\/\/blog.nimail.cn\/#website"},"datePublished":"2026-03-29T12:24:56+00:00","author":{"@id":"https:\/\/blog.nimail.cn\/#\/schema\/person\/0b0e15eb489135cbe0643e4f5e8839af"},"description":"\u4f5c\u4e3a\u5f00\u53d1\u8005\uff0c\u6211\u5206\u4eab\u5b9e\u7528\u7684Excel\u6570\u636e\u5bf9\u6bd4\u65b9\u6cd5\u4e0e\u5de5\u5177\uff0c\u5305\u542bPython\u793a\u4f8b\u4e0e\u5728\u7ebf\u5bf9\u6bd4\u5de5\u5177\u6848\u4f8b\uff0c\u5e2e\u52a9\u4f60\u5feb\u901f\u67e5\u627e\u4e24\u4e2a\u8868\u683c\u7684\u5dee\u5f02\u4e0e\u76f8\u540c\u9879\u3002","breadcrumb":{"@id":"https:\/\/blog.nimail.cn\/best-articles\/%e5%bf%ab%e9%80%9f%e5%af%b9%e6%af%94%e4%b8%a4%e4%b8%aaexcel%e8%a1%a8%e6%a0%bc%e7%9a%84%e5%b7%ae%e5%bc%82%e6%96%b9%e6%b3%95%e4%b8%8e%e5%b7%a5%e5%85%b7\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.nimail.cn\/best-articles\/%e5%bf%ab%e9%80%9f%e5%af%b9%e6%af%94%e4%b8%a4%e4%b8%aaexcel%e8%a1%a8%e6%a0%bc%e7%9a%84%e5%b7%ae%e5%bc%82%e6%96%b9%e6%b3%95%e4%b8%8e%e5%b7%a5%e5%85%b7\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.nimail.cn\/best-articles\/%e5%bf%ab%e9%80%9f%e5%af%b9%e6%af%94%e4%b8%a4%e4%b8%aaexcel%e8%a1%a8%e6%a0%bc%e7%9a%84%e5%b7%ae%e5%bc%82%e6%96%b9%e6%b3%95%e4%b8%8e%e5%b7%a5%e5%85%b7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/blog.nimail.cn\/"},{"@type":"ListItem","position":2,"name":"\u5feb\u901f\u5bf9\u6bd4\u4e24\u4e2aExcel\u8868\u683c\u7684\u5dee\u5f02\u65b9\u6cd5\u4e0e\u5de5\u5177"}]},{"@type":"WebSite","@id":"https:\/\/blog.nimail.cn\/#website","url":"https:\/\/blog.nimail.cn\/","name":"nimail blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.nimail.cn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/blog.nimail.cn\/#\/schema\/person\/0b0e15eb489135cbe0643e4f5e8839af","name":"\u4e00\u7ebf\u7801\u519c","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/blog.nimail.cn\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/9cabb5645eed3060ef0005d4a179e6422ed56568f78c1b5d2326a4976200739c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9cabb5645eed3060ef0005d4a179e6422ed56568f78c1b5d2326a4976200739c?s=96&d=mm&r=g","caption":"\u4e00\u7ebf\u7801\u519c"},"sameAs":["http:\/\/blog.nimail.cn"],"url":"https:\/\/blog.nimail.cn\/author\/longzg\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.nimail.cn\/wp-json\/wp\/v2\/posts\/971","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.nimail.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.nimail.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.nimail.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.nimail.cn\/wp-json\/wp\/v2\/comments?post=971"}],"version-history":[{"count":0,"href":"https:\/\/blog.nimail.cn\/wp-json\/wp\/v2\/posts\/971\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.nimail.cn\/wp-json\/wp\/v2\/media?parent=971"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.nimail.cn\/wp-json\/wp\/v2\/categories?post=971"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.nimail.cn\/wp-json\/wp\/v2\/tags?post=971"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}