{"id":1015,"date":"2026-06-01T22:22:07","date_gmt":"2026-06-01T22:22:07","guid":{"rendered":"https:\/\/blog.nimail.cn\/?p=1015"},"modified":"2026-06-01T22:22:07","modified_gmt":"2026-06-01T22:22:07","slug":"%e5%91%8a%e5%88%ab%e6%89%8b%e5%b7%a5%e6%a0%b8%e5%af%b9-python%e4%b8%80%e9%94%ae%e6%90%9e%e5%ae%9aexcel%e6%95%b0%e6%8d%ae%e5%af%b9%e6%af%94%e5%b7%ae%e5%bc%82","status":"publish","type":"post","link":"https:\/\/blog.nimail.cn\/best-articles\/%e5%91%8a%e5%88%ab%e6%89%8b%e5%b7%a5%e6%a0%b8%e5%af%b9-python%e4%b8%80%e9%94%ae%e6%90%9e%e5%ae%9aexcel%e6%95%b0%e6%8d%ae%e5%af%b9%e6%af%94%e5%b7%ae%e5%bc%82\/","title":{"rendered":"\u544a\u522b\u624b\u5de5\u6838\u5bf9\uff01Python\u4e00\u952e\u641e\u5b9aExcel\u6570\u636e\u5bf9\u6bd4\u5dee\u5f02"},"content":{"rendered":"<h2 class=\"mb-4 fw-bold\">\u544a\u522bVLOOKUP\u6b7b\u5faa\u73af\uff1a\u9ad8\u6548\u5904\u7406Excel\u6570\u636e\u5bf9\u6bd4\u7684\u5b9e\u6218\u601d\u8def<\/h2>\n<p class=\"lead mb-4\">\u65e5\u5e38\u5f00\u53d1\u91cc\uff0c\u6700\u5934\u75bc\u7684\u4e0d\u662f\u5199\u5e95\u5c42\u903b\u8f91\uff0c\u800c\u662f\u4e1a\u52a1\u7529\u8fc7\u6765\u4e24\u4efd\u5bfc\u51fa\u62a5\u8868\uff0c\u8ba9\u4f60\u8d76\u7d27\u627e\u51fa\u5dee\u5f02\u3002\u9762\u5bf9\u8fd9\u79cd\u573a\u666f\uff0c\u5f88\u591a\u4eba\u7b2c\u4e00\u53cd\u5e94\u662f\u5957\u516c\u5f0f\u6216\u8005\u8089\u773c\u8fc7\u4e00\u904d\uff0c\u7ed3\u679c\u5f80\u5f80\u8017\u65f6\u53c8\u5bb9\u6613\u51fa\u9519\u3002\u5176\u5b9e<strong>\u5982\u4f55\u5feb\u901f\u5bf9\u6bd4\u4e24\u4e2aexcel\u8868\u4e2d\u7684\u4e0d\u540c<\/strong>\u65e9\u5c31\u6709\u4e86\u6210\u719f\u7684\u89e3\u6cd5\u3002\u4eca\u5929\u4e0d\u626f\u865a\u7684\uff0c\u76f4\u63a5\u5206\u4eab\u6211\u5728\u5b9e\u9645\u9879\u76ee\u4e2d\u5e38\u7528\u7684\u51e0\u79cd\u8def\u5f84\uff0c\u987a\u4fbf\u804a\u804a\u600e\u4e48\u7528\u811a\u672c\u548c\u5728\u7ebf\u5de5\u5177\u628a\u6548\u7387\u62c9\u6ee1\u3002<\/p>\n<div class=\"alert alert-warning w-100 mb-4\" role=\"alert\">\n  <i class=\"bi bi-exclamation-triangle-fill me-2\"><\/i><strong>\u6ce8\u610f\uff1a<\/strong>\u539f\u59cb\u6570\u636e\u5982\u679c\u5b58\u5728\u7a7a\u683c\u3001\u6362\u884c\u7b26\u6216\u683c\u5f0f\u4e0d\u4e00\u81f4\uff0c\u4efb\u4f55<strong>excel\u6570\u636e\u5bf9\u6bd4<\/strong>\u90fd\u4f1a\u62a5\u5047\u9633\u6027\uff0c\u6e05\u6d17\u662f\u7b2c\u4e00\u6b65\u3002\n<\/div>\n<h2 class=\"mb-4 fw-bold mt-5\">\u4ece\u624b\u52a8\u5230\u81ea\u52a8\uff1a\u6838\u5fc3\u6d41\u7a0b\u62c6\u89e3<\/h2>\n<p>\u5f88\u591a\u65b0\u624b\u5728\u6298\u817e<strong>excel\u6838\u5bf9\u4e24\u5217\u6570\u636e\u662f\u5426\u4e00\u81f4<\/strong>\u65f6\uff0c\u603b\u662f\u9677\u5165\u51fd\u6570\u5d4c\u5957\u7684\u6ce5\u6f6d\u3002VLOOKUP\u3001MATCH\u3001IF\u7ec4\u5408\u62f3\u6253\u4e0b\u6765\uff0c\u8868\u683c\u5361\u5f97\u52a8\u4e0d\u4e86\u9f20\u6807\u3002\u5982\u679c\u4f60\u6b63\u5728\u5bfb\u627e\u66f4\u8f7b\u91cf\u7684\u65b9\u6848\uff0c\u4e0d\u59a8\u770b\u770b\u4e0b\u9762\u7684\u5bf9\u6bd4\u7ef4\u5ea6\u3002\u6211\u4eec\u5e38\u8bf4\u7684<strong>excel\u4e24\u4e2a\u8868\u683c\u6570\u636e\u5bf9\u6bd4<\/strong>\uff0c\u672c\u8d28\u4e0a\u662f\u96c6\u5408\u8fd0\u7b97\u91cc\u7684\u5dee\u96c6\u4e0e\u4ea4\u96c6\u63d0\u53d6\u3002\u5f53\u6570\u636e\u91cf\u7a81\u7834\u9608\u503c\uff0c\u4eba\u5de5\u5e72\u9884\u7684\u6210\u672c\u4f1a\u5448\u6307\u6570\u7ea7\u4e0a\u5347\u3002\u8fd9\u65f6\u5019\uff0c\u638c\u63e1\u4e00\u5957\u6807\u51c6\u7684<strong>excel\u6559\u7a0b \u5feb\u901f\u627e\u51fa\u4e0d\u540c\u8868\u683c\u4e2d\u76f8\u540c\u7684\u5185\u5bb9<\/strong>\u5c31\u5f88\u6709\u5fc5\u8981\u4e86\u3002<\/p>\n<table class=\"table table-bordered table-striped w-100 mb-4 overflow-auto\">\n<thead class=\"table-dark\">\n<tr>\n<th>\u65b9\u6cd5<\/th>\n<th>\u9002\u7528\u573a\u666f<\/th>\n<th>\u6027\u80fd\u74f6\u9888<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>VLOOKUP+\u6761\u4ef6\u683c\u5f0f<\/td>\n<td>\u6570\u636e\u91cf\u5c0f\u4e8e5000\u884c<\/td>\n<td>\u6613\u8bef\u89e6\u3001\u5237\u65b0\u6162<\/td>\n<\/tr>\n<tr>\n<td>Pandas\u811a\u672c<\/td>\n<td>\u4e07\u7ea7\/\u5341\u4e07\u7ea7\u6570\u636e<\/td>\n<td>\u9700\u57fa\u7840\u7f16\u7a0b\u73af\u5883<\/td>\n<\/tr>\n<tr>\n<td>\u5728\u7ebf\u5bf9\u6bd4\u5de5\u5177<\/td>\n<td>\u4e34\u65f6\u7d27\u6025\u6838\u5bf9<\/td>\n<td>\u4f9d\u8d56\u7f51\u7edc\u4e0e\u9690\u79c1\u5408\u89c4<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6211\u4e60\u60ef\u7528Python\u7684Pandas\u5e93\u505a\u5e95\u5c42\u6e05\u6d17\uff0c\u4ee3\u7801\u903b\u8f91\u975e\u5e38\u76f4\u767d\u3002\u4e0b\u9762\u8fd9\u6bb5\u793a\u4f8b\u53ef\u4ee5\u76f4\u63a5\u62ff\u53bb\u8dd1\uff0c\u4e13\u95e8\u89e3\u51b3<strong>\u5bf9\u6bd4\u4e24\u4e2aexcel\u8868\u6570\u636e\u5dee\u5f02<\/strong>\u7684\u6838\u5fc3\u8bc9\u6c42\uff1a<\/p>\n<pre class=\"bg-light p-3 rounded w-100 overflow-auto\"><code class=\"language-python\">import pandas as pd\n\ndf1 = pd.read_excel('sheet_a.xlsx')\ndf2 = pd.read_excel('sheet_b.xlsx')\n\ncols = ['id', 'name', 'amount']\ndf1[cols] = df1[cols].astype(str).str.strip()\ndf2[cols] = df2[cols].astype(str).str.strip()\n\nmerged = pd.merge(df1, df2, on=cols, how='outer', indicator=True)\ndiff_df = merged[merged['_merge'] != 'both'].drop(columns=['_merge'])\n\nprint(diff_df.head())<\/code><\/pre>\n<p>\u8fd0\u884c\u5b8c\u811a\u672c\u540e\uff0c\u8f93\u51fa\u5c31\u662f\u660e\u786e\u7684\u5dee\u5f02\u660e\u7ec6\u3002\u4e0d\u8fc7\u5bf9\u4e8e\u975e\u6280\u672f\u80cc\u666f\u7684\u540c\u4e8b\u6765\u8bf4\uff0c\u642d\u5efa\u73af\u5883\u672c\u8eab\u5c31\u6709\u95e8\u69db\u3002\u5e02\u9762\u4e0a\u5176\u5b9e\u6709\u5f88\u591a\u5f00\u7bb1\u5373\u7528\u7684<strong>excel\u5bf9\u6bd4\u5de5\u5177<\/strong>\uff0c\u6bd4\u5982\u6211\u4e4b\u524d\u6d4b\u8bd5\u8fc7\u7684\u8fd9\u4e2a\uff1a<a href=\"https:\/\/www.nimail.cn\/dev-tool\/excel-compare.html\" target=\"_blank\" rel=\"noopener noreferrer\">nimail\u5728\u7ebfExcel\u5bf9\u6bd4\u5e73\u53f0<\/a>\u3002\u5b83\u7684\u4ea4\u4e92\u8bbe\u8ba1\u5f88\u7b26\u5408\u76f4\u89c9\uff0c\u4e0a\u4f20\u6587\u4ef6\u540e\u7cfb\u7edf\u4f1a\u81ea\u52a8\u5bf9\u9f50\u5173\u952e\u5b57\u6bb5\uff0c\u9ad8\u4eae\u663e\u793a\u589e\u5220\u6539\u7684\u8bb0\u5f55\u3002\u5bf9\u4e8e<strong>\u5982\u4f55\u6bd4\u8f83\u4e24\u4e2aexcel\u7684\u5dee\u5f02<\/strong>\u4ee5\u53ca<strong>\u600e\u4e48\u5bf9\u6bd4\u4e24\u4e2aexcel\u6587\u6863\u7684\u6570\u636e\u5dee\u5f02<\/strong>\u8fd9\u7c7b\u9ad8\u9891\u9700\u6c42\uff0c\u5b83\u80fd\u7701\u53bb\u5927\u91cf\u6c9f\u901a\u6210\u672c\u3002<\/p>\n<div class=\"card border-primary w-100 mb-4\">\n<div class=\"card-header bg-primary text-white fw-bold d-flex align-items-center\">\n    <span class=\"badge bg-light text-primary me-2\">\u63a8\u8350<\/span> \u5173\u952e\u64cd\u4f5c\u63d0\u793a\n  <\/div>\n<div class=\"card-body\">\n<ul class=\"mb-0\">\n<li class=\"mb-2\">\u52a1\u5fc5\u5148\u5bf9\u4e3b\u952e\u5b57\u6bb5\u8fdb\u884c\u53bb\u7a7a\u683c\u548c\u5927\u5c0f\u5199\u6807\u51c6\u5316\u5904\u7406\uff0c\u5426\u5219<strong>excel\u6bd4\u8f83\u4e24\u4e2a\u8868\u683c\u5185\u5bb9\u662f\u5426\u4e00\u6837<\/strong>\u7684\u7ed3\u679c\u4f1a\u4e25\u91cd\u5931\u771f\u3002<\/li>\n<li class=\"mb-2\">\u591a\u8868\u8054\u52a8\u65f6\uff0c\u5efa\u8bae\u5148\u6309\u65f6\u95f4\u6233\u6216\u6279\u6b21\u53f7\u5206\u7ec4\uff0c\u907f\u514d\u8de8\u671f\u6570\u636e\u6df7\u5165\u5bfc\u81f4\u8bef\u5224\u3002<\/li>\n<li>\u9047\u5230\u4e71\u7801\u6216\u7279\u6b8a\u7b26\u53f7\uff0c\u4f18\u5148\u8f6cCSV\u683c\u5f0f\u518d\u5bfc\u5165\u89e3\u6790\u5f15\u64ce\uff0c\u517c\u5bb9\u6027\u63d0\u5347\u660e\u663e\u3002<\/li>\n<\/ul><\/div>\n<\/div>\n<p>\u8bf4\u5230\u5e95\uff0c\u6280\u672f\u624b\u6bb5\u53ea\u662f\u8f7d\u4f53\uff0c\u6838\u5fc3\u5728\u4e8e\u5efa\u7acb\u6807\u51c6\u5316\u7684\u6570\u636e\u4ea4\u63a5\u89c4\u8303\u3002\u65e0\u8bba\u662f\u81ea\u5df1\u5199\u811a\u672c\u6279\u91cf\u8dd1\uff0c\u8fd8\u662f\u501f\u52a9\u73b0\u6210\u7684\u5728\u7ebf\u670d\u52a1\u89e3\u51b3<strong>excel \u67e5\u8be2\u4e24\u5f20\u8868 \u4e2d \u4e0d\u540c\u7684\u6570\u636e<\/strong>\u95ee\u9898\uff0c\u76ee\u7684\u90fd\u662f\u4e3a\u4e86\u628a\u91cd\u590d\u52b3\u52a8\u4ea4\u7ed9\u673a\u5668\u3002\u4e0b\u6b21\u518d\u6536\u5230\u6838\u5bf9\u4efb\u52a1\uff0c\u522b\u6025\u7740\u6253\u5f00WPS\u72c2\u70b9\uff0c\u82b1\u4e94\u5206\u949f\u7406\u6e05\u5b57\u6bb5\u6620\u5c04\u5173\u7cfb\uff0c\u6548\u7387\u7edd\u5bf9\u6bd4\u76f2\u76ee\u64cd\u4f5c\u9ad8\u51fa\u4e00\u4e2a\u6570\u91cf\u7ea7\u3002\u4fdd\u6301\u5bf9\u7ec6\u8282\u7684\u654f\u611f\u5ea6\uff0c\u6570\u636e\u5904\u7406\u624d\u4f1a\u8d8a\u6765\u8d8a\u987a\u624b\u3002\u5982\u679c\u4f60\u5728\u6392\u67e5<strong>\u5982\u4f55\u6bd4\u5bf9\u4e24\u4e2aexcel\u5185\u5bb9\u662f\u5426\u4e00\u81f4<\/strong>\u7684\u8fc7\u7a0b\u4e2d\u9047\u5230\u8fb9\u754c\u60c5\u51b5\uff0c\u8bb0\u5f97\u4f18\u5148\u68c0\u67e5\u7f16\u7801\u683c\u5f0f\u548c\u65f6\u95f4\u5e8f\u5217\u7684\u5339\u914d\u89c4\u5219\uff0c\u8fd9\u4e9b\u9690\u6027\u5751\u4f4d\u624d\u662f\u771f\u6b63\u62d6\u6162\u8fdb\u5ea6\u7684\u5143\u51f6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6df1\u5165\u89e3\u6790\u9ad8\u6548\u5904\u7406\u62a5\u8868\u5dee\u5f02\u7684\u5b9e\u6218\u65b9\u6848\uff0c\u6db5\u76d6Python\u811a\u672c\u793a\u4f8b\u4e0e\u5728\u7ebf\u5de5\u5177\u63a8\u8350\uff0c\u5e2e\u4f60\u5f7b\u5e95\u6446\u8131VLOOKUP\u6b7b\u5faa\u73af\uff0c\u8f7b\u677e\u5b8c\u6210\u591a\u8868\u6570\u636e\u6e05\u6d17\u4e0e\u6838\u5bf9\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":[250,249,171],"class_list":["post-1015","post","type-post","status-publish","format-standard","hentry","category-best-articles","tag-excel"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.3.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u544a\u522b\u624b\u5de5\u6838\u5bf9\uff01Python\u4e00\u952e\u641e\u5b9aExcel\u6570\u636e\u5bf9\u6bd4\u5dee\u5f02 - nimail blog<\/title>\n<meta name=\"description\" content=\"\u6df1\u5165\u89e3\u6790\u9ad8\u6548\u5904\u7406\u62a5\u8868\u5dee\u5f02\u7684\u5b9e\u6218\u65b9\u6848\uff0c\u6db5\u76d6Python\u811a\u672c\u793a\u4f8b\u4e0e\u5728\u7ebf\u5de5\u5177\u63a8\u8350\uff0c\u5e2e\u4f60\u5f7b\u5e95\u6446\u8131VLOOKUP\u6b7b\u5faa\u73af\uff0c\u8f7b\u677e\u5b8c\u6210\u591a\u8868\u6570\u636e\u6e05\u6d17\u4e0e\u6838\u5bf9\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\/\u544a\u522b\u624b\u5de5\u6838\u5bf9-python\u4e00\u952e\u641e\u5b9aexcel\u6570\u636e\u5bf9\u6bd4\u5dee\u5f02\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u544a\u522b\u624b\u5de5\u6838\u5bf9\uff01Python\u4e00\u952e\u641e\u5b9aExcel\u6570\u636e\u5bf9\u6bd4\u5dee\u5f02 - nimail blog\" \/>\n<meta property=\"og:description\" content=\"\u6df1\u5165\u89e3\u6790\u9ad8\u6548\u5904\u7406\u62a5\u8868\u5dee\u5f02\u7684\u5b9e\u6218\u65b9\u6848\uff0c\u6db5\u76d6Python\u811a\u672c\u793a\u4f8b\u4e0e\u5728\u7ebf\u5de5\u5177\u63a8\u8350\uff0c\u5e2e\u4f60\u5f7b\u5e95\u6446\u8131VLOOKUP\u6b7b\u5faa\u73af\uff0c\u8f7b\u677e\u5b8c\u6210\u591a\u8868\u6570\u636e\u6e05\u6d17\u4e0e\u6838\u5bf9\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.nimail.cn\/best-articles\/\u544a\u522b\u624b\u5de5\u6838\u5bf9-python\u4e00\u952e\u641e\u5b9aexcel\u6570\u636e\u5bf9\u6bd4\u5dee\u5f02\/\" \/>\n<meta property=\"og:site_name\" content=\"nimail blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-06-01T22:22:07+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%91%8a%e5%88%ab%e6%89%8b%e5%b7%a5%e6%a0%b8%e5%af%b9-python%e4%b8%80%e9%94%ae%e6%90%9e%e5%ae%9aexcel%e6%95%b0%e6%8d%ae%e5%af%b9%e6%af%94%e5%b7%ae%e5%bc%82\/\",\"url\":\"https:\/\/blog.nimail.cn\/best-articles\/%e5%91%8a%e5%88%ab%e6%89%8b%e5%b7%a5%e6%a0%b8%e5%af%b9-python%e4%b8%80%e9%94%ae%e6%90%9e%e5%ae%9aexcel%e6%95%b0%e6%8d%ae%e5%af%b9%e6%af%94%e5%b7%ae%e5%bc%82\/\",\"name\":\"\u544a\u522b\u624b\u5de5\u6838\u5bf9\uff01Python\u4e00\u952e\u641e\u5b9aExcel\u6570\u636e\u5bf9\u6bd4\u5dee\u5f02 - nimail blog\",\"isPartOf\":{\"@id\":\"https:\/\/blog.nimail.cn\/#website\"},\"datePublished\":\"2026-06-01T22:22:07+00:00\",\"author\":{\"@id\":\"https:\/\/blog.nimail.cn\/#\/schema\/person\/0b0e15eb489135cbe0643e4f5e8839af\"},\"description\":\"\u6df1\u5165\u89e3\u6790\u9ad8\u6548\u5904\u7406\u62a5\u8868\u5dee\u5f02\u7684\u5b9e\u6218\u65b9\u6848\uff0c\u6db5\u76d6Python\u811a\u672c\u793a\u4f8b\u4e0e\u5728\u7ebf\u5de5\u5177\u63a8\u8350\uff0c\u5e2e\u4f60\u5f7b\u5e95\u6446\u8131VLOOKUP\u6b7b\u5faa\u73af\uff0c\u8f7b\u677e\u5b8c\u6210\u591a\u8868\u6570\u636e\u6e05\u6d17\u4e0e\u6838\u5bf9\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/blog.nimail.cn\/best-articles\/%e5%91%8a%e5%88%ab%e6%89%8b%e5%b7%a5%e6%a0%b8%e5%af%b9-python%e4%b8%80%e9%94%ae%e6%90%9e%e5%ae%9aexcel%e6%95%b0%e6%8d%ae%e5%af%b9%e6%af%94%e5%b7%ae%e5%bc%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.nimail.cn\/best-articles\/%e5%91%8a%e5%88%ab%e6%89%8b%e5%b7%a5%e6%a0%b8%e5%af%b9-python%e4%b8%80%e9%94%ae%e6%90%9e%e5%ae%9aexcel%e6%95%b0%e6%8d%ae%e5%af%b9%e6%af%94%e5%b7%ae%e5%bc%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.nimail.cn\/best-articles\/%e5%91%8a%e5%88%ab%e6%89%8b%e5%b7%a5%e6%a0%b8%e5%af%b9-python%e4%b8%80%e9%94%ae%e6%90%9e%e5%ae%9aexcel%e6%95%b0%e6%8d%ae%e5%af%b9%e6%af%94%e5%b7%ae%e5%bc%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/blog.nimail.cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u544a\u522b\u624b\u5de5\u6838\u5bf9\uff01Python\u4e00\u952e\u641e\u5b9aExcel\u6570\u636e\u5bf9\u6bd4\u5dee\u5f02\"}]},{\"@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":"\u544a\u522b\u624b\u5de5\u6838\u5bf9\uff01Python\u4e00\u952e\u641e\u5b9aExcel\u6570\u636e\u5bf9\u6bd4\u5dee\u5f02 - nimail blog","description":"\u6df1\u5165\u89e3\u6790\u9ad8\u6548\u5904\u7406\u62a5\u8868\u5dee\u5f02\u7684\u5b9e\u6218\u65b9\u6848\uff0c\u6db5\u76d6Python\u811a\u672c\u793a\u4f8b\u4e0e\u5728\u7ebf\u5de5\u5177\u63a8\u8350\uff0c\u5e2e\u4f60\u5f7b\u5e95\u6446\u8131VLOOKUP\u6b7b\u5faa\u73af\uff0c\u8f7b\u677e\u5b8c\u6210\u591a\u8868\u6570\u636e\u6e05\u6d17\u4e0e\u6838\u5bf9\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\/\u544a\u522b\u624b\u5de5\u6838\u5bf9-python\u4e00\u952e\u641e\u5b9aexcel\u6570\u636e\u5bf9\u6bd4\u5dee\u5f02\/","og_locale":"zh_CN","og_type":"article","og_title":"\u544a\u522b\u624b\u5de5\u6838\u5bf9\uff01Python\u4e00\u952e\u641e\u5b9aExcel\u6570\u636e\u5bf9\u6bd4\u5dee\u5f02 - nimail blog","og_description":"\u6df1\u5165\u89e3\u6790\u9ad8\u6548\u5904\u7406\u62a5\u8868\u5dee\u5f02\u7684\u5b9e\u6218\u65b9\u6848\uff0c\u6db5\u76d6Python\u811a\u672c\u793a\u4f8b\u4e0e\u5728\u7ebf\u5de5\u5177\u63a8\u8350\uff0c\u5e2e\u4f60\u5f7b\u5e95\u6446\u8131VLOOKUP\u6b7b\u5faa\u73af\uff0c\u8f7b\u677e\u5b8c\u6210\u591a\u8868\u6570\u636e\u6e05\u6d17\u4e0e\u6838\u5bf9\u3002","og_url":"https:\/\/blog.nimail.cn\/best-articles\/\u544a\u522b\u624b\u5de5\u6838\u5bf9-python\u4e00\u952e\u641e\u5b9aexcel\u6570\u636e\u5bf9\u6bd4\u5dee\u5f02\/","og_site_name":"nimail blog","article_published_time":"2026-06-01T22:22:07+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%91%8a%e5%88%ab%e6%89%8b%e5%b7%a5%e6%a0%b8%e5%af%b9-python%e4%b8%80%e9%94%ae%e6%90%9e%e5%ae%9aexcel%e6%95%b0%e6%8d%ae%e5%af%b9%e6%af%94%e5%b7%ae%e5%bc%82\/","url":"https:\/\/blog.nimail.cn\/best-articles\/%e5%91%8a%e5%88%ab%e6%89%8b%e5%b7%a5%e6%a0%b8%e5%af%b9-python%e4%b8%80%e9%94%ae%e6%90%9e%e5%ae%9aexcel%e6%95%b0%e6%8d%ae%e5%af%b9%e6%af%94%e5%b7%ae%e5%bc%82\/","name":"\u544a\u522b\u624b\u5de5\u6838\u5bf9\uff01Python\u4e00\u952e\u641e\u5b9aExcel\u6570\u636e\u5bf9\u6bd4\u5dee\u5f02 - nimail blog","isPartOf":{"@id":"https:\/\/blog.nimail.cn\/#website"},"datePublished":"2026-06-01T22:22:07+00:00","author":{"@id":"https:\/\/blog.nimail.cn\/#\/schema\/person\/0b0e15eb489135cbe0643e4f5e8839af"},"description":"\u6df1\u5165\u89e3\u6790\u9ad8\u6548\u5904\u7406\u62a5\u8868\u5dee\u5f02\u7684\u5b9e\u6218\u65b9\u6848\uff0c\u6db5\u76d6Python\u811a\u672c\u793a\u4f8b\u4e0e\u5728\u7ebf\u5de5\u5177\u63a8\u8350\uff0c\u5e2e\u4f60\u5f7b\u5e95\u6446\u8131VLOOKUP\u6b7b\u5faa\u73af\uff0c\u8f7b\u677e\u5b8c\u6210\u591a\u8868\u6570\u636e\u6e05\u6d17\u4e0e\u6838\u5bf9\u3002","breadcrumb":{"@id":"https:\/\/blog.nimail.cn\/best-articles\/%e5%91%8a%e5%88%ab%e6%89%8b%e5%b7%a5%e6%a0%b8%e5%af%b9-python%e4%b8%80%e9%94%ae%e6%90%9e%e5%ae%9aexcel%e6%95%b0%e6%8d%ae%e5%af%b9%e6%af%94%e5%b7%ae%e5%bc%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.nimail.cn\/best-articles\/%e5%91%8a%e5%88%ab%e6%89%8b%e5%b7%a5%e6%a0%b8%e5%af%b9-python%e4%b8%80%e9%94%ae%e6%90%9e%e5%ae%9aexcel%e6%95%b0%e6%8d%ae%e5%af%b9%e6%af%94%e5%b7%ae%e5%bc%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.nimail.cn\/best-articles\/%e5%91%8a%e5%88%ab%e6%89%8b%e5%b7%a5%e6%a0%b8%e5%af%b9-python%e4%b8%80%e9%94%ae%e6%90%9e%e5%ae%9aexcel%e6%95%b0%e6%8d%ae%e5%af%b9%e6%af%94%e5%b7%ae%e5%bc%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/blog.nimail.cn\/"},{"@type":"ListItem","position":2,"name":"\u544a\u522b\u624b\u5de5\u6838\u5bf9\uff01Python\u4e00\u952e\u641e\u5b9aExcel\u6570\u636e\u5bf9\u6bd4\u5dee\u5f02"}]},{"@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\/1015","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=1015"}],"version-history":[{"count":0,"href":"https:\/\/blog.nimail.cn\/wp-json\/wp\/v2\/posts\/1015\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.nimail.cn\/wp-json\/wp\/v2\/media?parent=1015"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.nimail.cn\/wp-json\/wp\/v2\/categories?post=1015"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.nimail.cn\/wp-json\/wp\/v2\/tags?post=1015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}