{"id":57,"date":"2022-07-20T15:13:32","date_gmt":"2022-07-20T07:13:32","guid":{"rendered":"https:\/\/microviva.wordpress.com\/?p=57"},"modified":"2023-01-17T16:49:12","modified_gmt":"2023-01-17T08:49:12","slug":"python%e5%ad%b8%e7%bf%92%e7%ad%86%e8%a8%98%ef%bc%9adatetime%e5%87%bd%e5%bc%8f%e5%ba%ab%e4%bb%a3%e7%a2%bc%e5%8f%8a%e6%a0%bc%e5%bc%8f%e5%ae%9a%e7%be%a9","status":"publish","type":"post","link":"https:\/\/kuo.us.to\/wordpress\/python%e5%ad%b8%e7%bf%92%e7%ad%86%e8%a8%98\/57\/","title":{"rendered":"Python\u5b78\u7fd2\u7b46\u8a18\uff1adatetime\u51fd\u5f0f\u5eab\u4ee3\u78bc\u53ca\u683c\u5f0f\u5b9a\u7fa9"},"content":{"rendered":"<div class=\"jp-Cell jp-MarkdownCell jp-Notebook-cell\">\n<div class=\"jp-Cell-inputWrapper\">\n<div class=\"jp-InputArea jp-Cell-inputArea\">\n<div class=\"jp-RenderedHTMLCommon jp-RenderedMarkdown jp-MarkdownOutput\" data-mime-type=\"text\/markdown\">\n<h1 id=\"Pandas-%E5%B0%87%E6%B0%91%E5%9C%8B%E5%B9%B4%E6%9C%88%E6%97%A5%E8%BD%89%E7%82%BA%E8%A5%BF%E5%85%83%E5%B9%B4%E6%9C%88%E6%97%A5\">Pandas \u5c07\u6c11\u570b\u5e74\u6708\u65e5\u8f49\u70ba\u897f\u5143\u5e74\u6708\u65e5<\/h1>\n<p>\u7bc4\u4f8b\u6a94\u6848\u70ba\u865b\u69cb\u8cc7\u6599\uff0c\u7279\u6b64\u8072\u660e<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"jp-Cell jp-MarkdownCell jp-Notebook-cell\">\n<div class=\"jp-Cell-inputWrapper\">\n<div class=\"jp-Collapser jp-InputCollapser jp-Cell-inputCollapser\">&nbsp;<\/div>\n<div class=\"jp-InputArea jp-Cell-inputArea\">\n<div class=\"jp-InputPrompt jp-InputArea-prompt\">&nbsp;<\/div>\n<div class=\"jp-RenderedHTMLCommon jp-RenderedMarkdown jp-MarkdownOutput\" data-mime-type=\"text\/markdown\">\n<h3 id=\"datetime-%E4%BB%A3%E7%A2%BC%E6%A0%BC%E5%BC%8F%E5%AE%9A%E7%BE%A9\">datetime \u4ee3\u78bc\u683c\u5f0f\u5b9a\u7fa9<\/h3>\n<p>\u8cc7\u6599\u4f86\u6e90\uff1aPython\u5b98\u65b9\u6587\u4ef6&nbsp;<a href=\"https:\/\/docs.python.org\/zh-tw\/3\/library\/datetime.html\">https:\/\/docs.python.org\/zh-tw\/3\/library\/datetime.html<\/a><\/p>\n<table>\n<thead>\n<tr>\n<th>\u4ee3\u78bc<\/th>\n<th>\u542b\u610f<\/th>\n<th>\u7bc4\u4f8b<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>%a<\/td>\n<td>\u7576\u5730\u5de5\u4f5c\u65e5\u7684\u7e2e\u5beb\u3002<\/td>\n<td>Sun, Mon, &#8230;, Sat (en_US);So, Mo, &#8230;, Sa (de_DE)<\/td>\n<\/tr>\n<tr>\n<td>%A<\/td>\n<td>\u7576\u5730\u8a9e\u7cfb\u5316\u7684\u661f\u671f\u4e2d\u6bcf\u65e5\u7684\u5b8c\u6574\u540d\u7a31\u3002<\/td>\n<td>Sunday, Monday, &#8230;, Saturday (en_US);Sonntag, Montag, &#8230;, Samstag (de_DE)<\/td>\n<\/tr>\n<tr>\n<td>%w<\/td>\n<td>\u4ee5\u5341\u9032\u4f4d\u6578\u5b57\u986f\u793a\u7684\u5de5\u4f5c\u65e5\uff0c\u5176\u4e2d0\u8868\u793a\u661f\u671f\u65e5\uff0c6\u8868\u793a\u661f\u671f\u516d\u3002<\/td>\n<td>0, 1, &#8230;, 6<\/td>\n<\/tr>\n<tr>\n<td>%d<\/td>\n<td>\u88dc\u96f6\u5f8c\uff0c\u4ee5\u5341\u9032\u4f4d\u6578\u5b57\u986f\u793a\u7684\u6708\u4efd\u4e2d\u7684\u4e00\u5929\u3002<\/td>\n<td>01, 02, &#8230;, 31<\/td>\n<\/tr>\n<tr>\n<td>%b<\/td>\n<td>\u7576\u5730\u6708\u4efd\u7684\u7e2e\u5beb\u3002<\/td>\n<td>Jan, Feb, &#8230;, Dec (en_US);Jan, Feb, &#8230;, Dez (de_DE)<\/td>\n<\/tr>\n<tr>\n<td>%B<\/td>\n<td>\u7576\u5730\u8a9e\u7cfb\u5316\u7684\u6708\u4efd\u5168\u540d\u3002<\/td>\n<td>January, February, &#8230;, December (en_US);Januar, Februar, &#8230;, Dezember (de_DE)<\/td>\n<\/tr>\n<tr>\n<td>%m<\/td>\n<td>\u88dc\u96f6\u5f8c\uff0c\u4ee5\u5341\u9032\u4f4d\u6578\u5b57\u986f\u793a\u7684\u6708\u4efd\u3002<\/td>\n<td>01, 02, &#8230;, 12<\/td>\n<\/tr>\n<tr>\n<td>%y<\/td>\n<td>\u88dc\u96f6\u5f8c\uff0c\u4ee5\u5341\u9032\u4f4d\u6578\u5b57\u8868\u793a\u7684\uff0c\u4e0d\u5e36\u4e16\u7d00\u7684\u5e74\u4efd\u3002<\/td>\n<td>00, 01, &#8230;, 99<\/td>\n<\/tr>\n<tr>\n<td>%Y<\/td>\n<td>\u5341\u9032\u4f4d\u6578\u5b57\u8868\u793a\u7684\u5e36\u4e16\u7d00\u7684\u5e74\u4efd\u3002<\/td>\n<td>0001, 0002, &#8230;, 2013, 2014, &#8230;, 9998, 9999<\/td>\n<\/tr>\n<tr>\n<td>%H<\/td>\n<td>\u4ee5\u88dc\u96f6\u5f8c\u7684\u5341\u9032\u4f4d\u6578\u5b57\u8868\u793a\u7684\u5c0f\u6642\uff0824 \u5c0f\u6642\u5236\uff09\u3002<\/td>\n<td>00, 01, &#8230;, 23<\/td>\n<\/tr>\n<tr>\n<td>%I<\/td>\n<td>\u4ee5\u88dc\u96f6\u5f8c\u7684\u5341\u9032\u4f4d\u6578\u5b57\u8868\u793a\u7684\u5c0f\u6642\uff0812 \u5c0f\u6642\u5236\uff09\u3002<\/td>\n<td>01, 02, &#8230;, 12<\/td>\n<\/tr>\n<tr>\n<td>%p<\/td>\n<td>\u7576\u5730\u8a9e\u7cfb\u5316\u7684 AM \u6216 PM \u3002<\/td>\n<td>AM, PM (en_US);am, pm (de_DE)<\/td>\n<\/tr>\n<tr>\n<td>%M<\/td>\n<td>\u88dc\u96f6\u5f8c\uff0c\u4ee5\u5341\u9032\u4f4d\u6578\u5b57\u986f\u793a\u7684\u5206\u9418\u3002<\/td>\n<td>00, 01, &#8230;, 59<\/td>\n<\/tr>\n<tr>\n<td>%S<\/td>\n<td>\u88dc\u96f6\u5f8c\uff0c\u4ee5\u5341\u9032\u4f4d\u6578\u5b57\u986f\u793a\u7684\u79d2\u3002<\/td>\n<td>00, 01, &#8230;, 59<\/td>\n<\/tr>\n<tr>\n<td>%f<\/td>\n<td>Microsecond as a decimal number, zero-padded to 6 digits.<\/td>\n<td>000000, 000001, &#8230;, 999999<\/td>\n<\/tr>\n<tr>\n<td>%z<\/td>\n<td>UTC \u504f\u79fb\u91cf\uff0c\u683c\u5f0f\u70ba \u00b1HHMM[SS[.ffffff]] \uff08\u5982\u679c\u662f\u7c21\u55ae\u578b\u7269\u4ef6\u5247\u70ba\u7a7a\u5b57\u4e32\uff09\u3002<\/td>\n<td>(\u7a7a), +0000, -0400, +1030, +063415, 30712.345216<\/td>\n<\/tr>\n<tr>\n<td>%Z<\/td>\n<td>\u6642\u5340\u540d\u7a31\uff08\u5982\u679c\u7269\u4ef6\u70ba\u7c21\u55ae\u578b\u5247\u70ba\u7a7a\u5b57\u4e32\uff09\u3002<\/td>\n<td>(\u7a7a), UTC, GMT<\/td>\n<\/tr>\n<tr>\n<td>%j<\/td>\n<td>\u4ee5\u88dc\u96f6\u5f8c\u7684\u5341\u9032\u4f4d\u6578\u5b57\u8868\u793a\u7684\u4e00\u5e74\u4e2d\u7684\u65e5\u5e8f\u865f\u3002<\/td>\n<td>001, 002, &#8230;, 366<\/td>\n<\/tr>\n<tr>\n<td>%U<\/td>\n<td>\u4ee5\u88dc\u96f6\u5f8c\u7684\u5341\u9032\u4f4d\u6578\u5b57\u8868\u793a\u7684\u4e00\u5e74\u4e2d\u7684\u5468\u5e8f\u865f\uff08\u661f\u671f\u65e5\u4f5c\u70ba\u6bcf\u9031\u7684\u7b2c\u4e00\u5929\uff09\u3002 \u5728\u65b0\u7684\u4e00\u5e74\u4e2d\u7b2c\u4e00\u500b\u661f\u671f\u65e5\u4e4b\u524d\u7684\u6240\u6709\u65e5\u5b50\u90fd\u88ab\u8996\u70ba\u662f\u5728\u7b2c 0 \u5468\u3002<\/td>\n<td>00, 01, &#8230;, 53<\/td>\n<\/tr>\n<tr>\n<td>%W<\/td>\n<td>\u4ee5\u5341\u9032\u4f4d\u6578\u5b57\u8868\u793a\u7684\u4e00\u5e74\u4e2d\u7684\u5468\u5e8f\u865f\uff08\u661f\u671f\u4e00\u4f5c\u70ba\u6bcf\u9031\u7684\u7b2c\u4e00\u5929\uff09\u3002 \u5728\u65b0\u7684\u4e00\u5e74\u4e2d\u7b2c\u4e00\u500b\u7b2c\u671f\u4e00\u4e4b\u524d\u7684\u6240\u6709\u65e5\u5b50\u90fd\u88ab\u8996\u70ba\u662f\u5728\u7b2c 0 \u5468\u3002<\/td>\n<td>00, 01, &#8230;, 53<\/td>\n<\/tr>\n<tr>\n<td>%c<\/td>\n<td>\u7576\u5730\u8a9e\u7cfb\u5316\u7684\u9069\u7576\u65e5\u671f\u548c\u6642\u9593\u8868\u793a\u3002<\/td>\n<td>Tue Aug 16 21:30:00 1988 (en_US);Di 16 Aug 21:30:00 1988 (de_DE)<\/td>\n<\/tr>\n<tr>\n<td>%x<\/td>\n<td>\u7576\u5730\u8a9e\u7cfb\u5316\u7684\u9069\u7576\u65e5\u671f\u8868\u793a\u3002<\/td>\n<td>08\/16\/88 (None);08\/16\/1988 (en_US);16.08.1988 (de_DE)<\/td>\n<\/tr>\n<tr>\n<td>%X<\/td>\n<td>\u7576\u5730\u8a9e\u7cfb\u5316\u7684\u9069\u7576\u6642\u9593\u8868\u793a\u3002<\/td>\n<td>21:30:00 (en_US);21:30:00 (de_DE)<\/td>\n<\/tr>\n<tr>\n<td>%%<\/td>\n<td>\u5b57\u9762\u7684 &#8216;%&#8217; \u5b57\u5143\u3002<\/td>\n<td>%<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n\n\n<pre class=\"wp-block-code\"><code lang=\"python\" class=\"language-python line-numbers\">from google.colab import files\nuploaded = files.upload()<\/code><\/pre>\n\n\n<div class=\"jp-OutputArea-child\">\n<div class=\"jp-RenderedHTMLCommon jp-RenderedHTML jp-OutputArea-output\" data-mime-type=\"text\/html\">Upload widget is only available when the cell has been executed in the current browser session. Please rerun this cell to enable.<\/div>\n<\/div>\n<div class=\"jp-OutputArea-child\">\n<div class=\"jp-OutputPrompt jp-OutputArea-prompt\">&nbsp;<\/div>\n<div class=\"jp-RenderedText jp-OutputArea-output\" data-mime-type=\"text\/plain\">\n<pre>Saving 0000_\u5b78\u751f\u8cc7\u6599\u7bc4\u4f8b\u6a94.xlsx to 0000_\u5b78\u751f\u8cc7\u6599\u7bc4\u4f8b\u6a94.xlsx<\/pre>\n<\/div>\n<\/div>\n\n\n<pre class=\"wp-block-code\"><code lang=\"python\" class=\"language-python line-numbers\">import io\nimport pandas as pd\nimport numpy as np\n\ndf = pd.read_excel(io.BytesIO(uploaded['0000_\u5b78\u751f\u8cc7\u6599\u7bc4\u4f8b\u6a94.xlsx']))\nprint(len(df))\n\ndf<\/code><\/pre>\n\n\n<div class=\"jp-OutputArea-child\">\n<div class=\"jp-RenderedText jp-OutputArea-output\" data-mime-type=\"text\/plain\">\n<pre>17\n<\/pre>\n<\/div>\n<\/div>\n<div class=\"jp-OutputArea-child\">\n<div class=\"jp-OutputPrompt jp-OutputArea-prompt\">Out[5]:<\/div>\n<div class=\"jp-RenderedHTMLCommon jp-RenderedHTML jp-OutputArea-output jp-OutputArea-executeResult\" data-mime-type=\"text\/html\">\n<div id=\"df-7adb32fe-29f8-4226-a010-9c06e777bad8\">\n<div class=\"colab-df-container\">\n<div>\n<table class=\"dataframe\" border=\"1\">\n<thead>\n<tr>\n<th>&nbsp;<\/th>\n<th>\u5b78\u865f<\/th>\n<th>\u51fa\u751f\u5e74\u6708\u65e5<\/th>\n<th>\u6027\u5225<\/th>\n<th>\u4e2d\u6587\u59d3\u540d<\/th>\n<th>\u90e8\u5225<\/th>\n<th>\u7cfb\u6240<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<th>0<\/th>\n<td>U1002252<\/td>\n<td>650502<\/td>\n<td>\u5973<\/td>\n<td>\u9ec3\u6587\u6b23<\/td>\n<td>\u5927\u5b78\u90e8<\/td>\n<td>\u6d41\u901a\u7ba1\u7406\u5b78\u7cfb<\/td>\n<\/tr>\n<tr>\n<th>1<\/th>\n<td>U1007128<\/td>\n<td>720525<\/td>\n<td>\u7537<\/td>\n<td>\u5f90\u7fe0\u6d0b<\/td>\n<td>\u5927\u5b78\u90e8<\/td>\n<td>\u6d41\u901a\u7ba1\u7406\u5b78\u7cfb<\/td>\n<\/tr>\n<tr>\n<th>2<\/th>\n<td>U1017113<\/td>\n<td>721116<\/td>\n<td>\u7537<\/td>\n<td>\u6797\u6b23\u8679<\/td>\n<td>\u5927\u5b78\u90e8<\/td>\n<td>\u6d41\u901a\u7ba1\u7406\u5b78\u7cfb<\/td>\n<\/tr>\n<tr>\n<th>3<\/th>\n<td>U1017117<\/td>\n<td>730224<\/td>\n<td>\u7537<\/td>\n<td>\u5433\u8a9e\u7fa4<\/td>\n<td>\u5927\u5b78\u90e8<\/td>\n<td>\u6d41\u901a\u7ba1\u7406\u5b78\u7cfb<\/td>\n<\/tr>\n<tr>\n<th>4<\/th>\n<td>U1017146<\/td>\n<td>720923<\/td>\n<td>\u7537<\/td>\n<td>\u8a79\u4fca\u5b8f<\/td>\n<td>\u5927\u5b78\u90e8<\/td>\n<td>\u6b77\u53f2\u5b78\u7cfb<\/td>\n<\/tr>\n<tr>\n<th>5<\/th>\n<td>U1027140<\/td>\n<td>690101<\/td>\n<td>\u5973<\/td>\n<td>\u6797\u7d20\u5143<\/td>\n<td>\u5927\u5b78\u90e8<\/td>\n<td>\u6b77\u53f2\u5b78\u7cfb<\/td>\n<\/tr>\n<tr>\n<th>6<\/th>\n<td>U1027153<\/td>\n<td>700503<\/td>\n<td>\u7537<\/td>\n<td>\u6d2a\u5049\u8aa0<\/td>\n<td>\u5927\u5b78\u90e8<\/td>\n<td>\u6b77\u53f2\u5b78\u7cfb<\/td>\n<\/tr>\n<tr>\n<th>7<\/th>\n<td>U1017123<\/td>\n<td>730318<\/td>\n<td>\u5973<\/td>\n<td>\u9ec3\u7389\u5ef7<\/td>\n<td>\u5927\u5b78\u90e8<\/td>\n<td>\u6b77\u53f2\u5b78\u7cfb<\/td>\n<\/tr>\n<tr>\n<th>8<\/th>\n<td>U1027130<\/td>\n<td>740802<\/td>\n<td>\u5973<\/td>\n<td>\u9ec3\u74ca\u745e<\/td>\n<td>\u5927\u5b78\u90e8<\/td>\n<td>\u96fb\u6a5f\u5de5\u7a0b\u5b78\u7cfb<\/td>\n<\/tr>\n<tr>\n<th>9<\/th>\n<td>U1027156<\/td>\n<td>730607<\/td>\n<td>\u7537<\/td>\n<td>\u9673\u5955\u5b63<\/td>\n<td>\u5927\u5b78\u90e8<\/td>\n<td>\u96fb\u6a5f\u5de5\u7a0b\u5b78\u7cfb<\/td>\n<\/tr>\n<tr>\n<th>10<\/th>\n<td>U1027119<\/td>\n<td>720121<\/td>\n<td>\u7537<\/td>\n<td>\u85cd\u7acb\u7487<\/td>\n<td>\u5927\u5b78\u90e8<\/td>\n<td>\u96fb\u6a5f\u5de5\u7a0b\u5b78\u7cfb<\/td>\n<\/tr>\n<tr>\n<th>11<\/th>\n<td>U1037130<\/td>\n<td>690909<\/td>\n<td>\u5973<\/td>\n<td>\u6c5f\u59f5\u5229<\/td>\n<td>\u5927\u5b78\u90e8<\/td>\n<td>\u96fb\u6a5f\u5de5\u7a0b\u5b78\u7cfb<\/td>\n<\/tr>\n<tr>\n<th>12<\/th>\n<td>U1037131<\/td>\n<td>730118<\/td>\n<td>\u5973<\/td>\n<td>\u6797\u65b0\u4e91<\/td>\n<td>\u5927\u5b78\u90e8<\/td>\n<td>\u793e\u6703\u5b78\u7cfb<\/td>\n<\/tr>\n<tr>\n<th>13<\/th>\n<td>U1047102<\/td>\n<td>751123<\/td>\n<td>\u5973<\/td>\n<td>\u8a79\u6dd1\u73b2<\/td>\n<td>\u5927\u5b78\u90e8<\/td>\n<td>\u793e\u6703\u5b78\u7cfb<\/td>\n<\/tr>\n<tr>\n<th>14<\/th>\n<td>U1047113<\/td>\n<td>750903<\/td>\n<td>\u7537<\/td>\n<td>\u6797\u4e16\u5149<\/td>\n<td>\u5927\u5b78\u90e8<\/td>\n<td>\u793e\u6703\u5b78\u7cfb<\/td>\n<\/tr>\n<tr>\n<th>15<\/th>\n<td>U1047120<\/td>\n<td>760907<\/td>\n<td>\u5973<\/td>\n<td>\u5433\u60e0\u8339<\/td>\n<td>\u5927\u5b78\u90e8<\/td>\n<td>\u793e\u6703\u5b78\u7cfb<\/td>\n<\/tr>\n<tr>\n<th>16<\/th>\n<td>U1047124<\/td>\n<td>760227<\/td>\n<td>\u7537<\/td>\n<td>\u9673\u6bc5\u6587<\/td>\n<td>\u5927\u5b78\u90e8<\/td>\n<td>\u793e\u6703\u5b78\u7cfb<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n\n\n<pre class=\"wp-block-code\"><code lang=\"python\" class=\"language-python line-numbers\">df['\u51fa\u751f\u5e74\u6708\u65e5'] = (\n    (df['\u51fa\u751f\u5e74\u6708\u65e5'].astype(str).str[:2].astype(int) + 1911).astype(str) + \"\/\" + \n    (df['\u51fa\u751f\u5e74\u6708\u65e5'].astype(str).str[2:4]) + \"\/\" + (df['\u51fa\u751f\u5e74\u6708\u65e5'].astype(str).str[4:])\n)\ndf<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th><\/th><th>\u5b78\u865f<\/th><th>\u51fa\u751f\u5e74\u6708\u65e5<\/th><th>\u6027\u5225<\/th><th>\u4e2d\u6587\u59d3\u540d<\/th><th>\u90e8\u5225<\/th><th>\u7cfb\u6240<\/th><\/tr><\/thead><tbody><tr><th>0<\/th><td>U1002252<\/td><td>1930\/76\/<\/td><td>\u5973<\/td><td>\u9ec3\u6587\u6b23<\/td><td>\u5927\u5b78\u90e8<\/td><td>\u6d41\u901a\u7ba1\u7406\u5b78\u7cfb<\/td><\/tr><tr><th>1<\/th><td>U1007128<\/td><td>1930\/83\/<\/td><td>\u7537<\/td><td>\u5f90\u7fe0\u6d0b<\/td><td>\u5927\u5b78\u90e8<\/td><td>\u6d41\u901a\u7ba1\u7406\u5b78\u7cfb<\/td><\/tr><tr><th>2<\/th><td>U1017113<\/td><td>1930\/83\/<\/td><td>\u7537<\/td><td>\u6797\u6b23\u8679<\/td><td>\u5927\u5b78\u90e8<\/td><td>\u6d41\u901a\u7ba1\u7406\u5b78\u7cfb<\/td><\/tr><tr><th>3<\/th><td>U1017117<\/td><td>1930\/84\/<\/td><td>\u7537<\/td><td>\u5433\u8a9e\u7fa4<\/td><td>\u5927\u5b78\u90e8<\/td><td>\u6d41\u901a\u7ba1\u7406\u5b78\u7cfb<\/td><\/tr><tr><th>4<\/th><td>U1017146<\/td><td>1930\/83\/<\/td><td>\u7537<\/td><td>\u8a79\u4fca\u5b8f<\/td><td>\u5927\u5b78\u90e8<\/td><td>\u6b77\u53f2\u5b78\u7cfb<\/td><\/tr><tr><th>5<\/th><td>U1027140<\/td><td>1930\/80\/<\/td><td>\u5973<\/td><td>\u6797\u7d20\u5143<\/td><td>\u5927\u5b78\u90e8<\/td><td>\u6b77\u53f2\u5b78\u7cfb<\/td><\/tr><tr><th>6<\/th><td>U1027153<\/td><td>1930\/81\/<\/td><td>\u7537<\/td><td>\u6d2a\u5049\u8aa0<\/td><td>\u5927\u5b78\u90e8<\/td><td>\u6b77\u53f2\u5b78\u7cfb<\/td><\/tr><tr><th>7<\/th><td>U1017123<\/td><td>1930\/84\/<\/td><td>\u5973<\/td><td>\u9ec3\u7389\u5ef7<\/td><td>\u5927\u5b78\u90e8<\/td><td>\u6b77\u53f2\u5b78\u7cfb<\/td><\/tr><tr><th>8<\/th><td>U1027130<\/td><td>1930\/85\/<\/td><td>\u5973<\/td><td>\u9ec3\u74ca\u745e<\/td><td>\u5927\u5b78\u90e8<\/td><td>\u96fb\u6a5f\u5de5\u7a0b\u5b78\u7cfb<\/td><\/tr><tr><th>9<\/th><td>U1027156<\/td><td>1930\/84\/<\/td><td>\u7537<\/td><td>\u9673\u5955\u5b63<\/td><td>\u5927\u5b78\u90e8<\/td><td>\u96fb\u6a5f\u5de5\u7a0b\u5b78\u7cfb<\/td><\/tr><tr><th>10<\/th><td>U1027119<\/td><td>1930\/83\/<\/td><td>\u7537<\/td><td>\u85cd\u7acb\u7487<\/td><td>\u5927\u5b78\u90e8<\/td><td>\u96fb\u6a5f\u5de5\u7a0b\u5b78\u7cfb<\/td><\/tr><tr><th>11<\/th><td>U1037130<\/td><td>1930\/80\/<\/td><td>\u5973<\/td><td>\u6c5f\u59f5\u5229<\/td><td>\u5927\u5b78\u90e8<\/td><td>\u96fb\u6a5f\u5de5\u7a0b\u5b78\u7cfb<\/td><\/tr><tr><th>12<\/th><td>U1037131<\/td><td>1930\/84\/<\/td><td>\u5973<\/td><td>\u6797\u65b0\u4e91<\/td><td>\u5927\u5b78\u90e8<\/td><td>\u793e\u6703\u5b78\u7cfb<\/td><\/tr><tr><th>13<\/th><td>U1047102<\/td><td>1930\/86\/<\/td><td>\u5973<\/td><td>\u8a79\u6dd1\u73b2<\/td><td>\u5927\u5b78\u90e8<\/td><td>\u793e\u6703\u5b78\u7cfb<\/td><\/tr><tr><th>14<\/th><td>U1047113<\/td><td>1930\/86\/<\/td><td>\u7537<\/td><td>\u6797\u4e16\u5149<\/td><td>\u5927\u5b78\u90e8<\/td><td>\u793e\u6703\u5b78\u7cfb<\/td><\/tr><tr><th>15<\/th><td>U1047120<\/td><td>1930\/87\/<\/td><td>\u5973<\/td><td>\u5433\u60e0\u8339<\/td><td>\u5927\u5b78\u90e8<\/td><td>\u793e\u6703\u5b78\u7cfb<\/td><\/tr><tr><th>16<\/th><td>U1047124<\/td><td>1930\/87\/<\/td><td>\u7537<\/td><td>\u9673\u6bc5\u6587<\/td><td>\u5927\u5b78\u90e8<\/td><td>\u793e\u6703\u5b78\u7cfb<\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Pandas \u5c07\u6c11\u570b\u5e74\u6708\u65e5\u8f49\u70ba\u897f\u5143\u5e74\u6708\u65e5 \u7bc4\u4f8b\u6a94\u6848\u70ba\u865b\u69cb\u8cc7\u6599\uff0c\u7279\u6b64\u8072\u660e &nbsp; &nbsp; datet [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":271,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advgb_blocks_editor_width":"","advgb_blocks_columns_visual_guide":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}}},"categories":[4],"tags":[12,9],"author_meta":{"display_name":"mackuo","author_link":"https:\/\/kuo.us.to\/wordpress\/author\/mackuo\/"},"featured_img":"https:\/\/kuo.us.to\/wordpress\/wp-content\/uploads\/2022\/07\/puoohog95sy-300x200.jpg","coauthors":[],"tax_additional":{"categories":{"linked":["<a href=\"https:\/\/kuo.us.to\/wordpress\/category\/python%e5%ad%b8%e7%bf%92%e7%ad%86%e8%a8%98\/\" class=\"advgb-post-tax-term\">Python\u5b78\u7fd2\u7b46\u8a18<\/a>"],"unlinked":["<span class=\"advgb-post-tax-term\">Python\u5b78\u7fd2\u7b46\u8a18<\/span>"]},"tags":{"linked":["<a href=\"https:\/\/kuo.us.to\/wordpress\/category\/python%e5%ad%b8%e7%bf%92%e7%ad%86%e8%a8%98\/\" class=\"advgb-post-tax-term\">datetime<\/a>","<a href=\"https:\/\/kuo.us.to\/wordpress\/category\/python%e5%ad%b8%e7%bf%92%e7%ad%86%e8%a8%98\/\" class=\"advgb-post-tax-term\">Python<\/a>"],"unlinked":["<span class=\"advgb-post-tax-term\">datetime<\/span>","<span class=\"advgb-post-tax-term\">Python<\/span>"]}},"comment_count":"0","relative_dates":{"created":"Posted 4 \u5e74 ago","modified":"Updated 3 \u5e74 ago"},"absolute_dates":{"created":"Posted on 2022 \u5e74 7 \u6708 20 \u65e5","modified":"Updated on 2023 \u5e74 1 \u6708 17 \u65e5"},"absolute_dates_time":{"created":"Posted on 2022 \u5e74 7 \u6708 20 \u65e5 \u4e0b\u5348 3:13","modified":"Updated on 2023 \u5e74 1 \u6708 17 \u65e5 \u4e0b\u5348 4:49"},"featured_img_caption":"","series_order":"","_links":{"self":[{"href":"https:\/\/kuo.us.to\/wordpress\/wp-json\/wp\/v2\/posts\/57"}],"collection":[{"href":"https:\/\/kuo.us.to\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kuo.us.to\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kuo.us.to\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kuo.us.to\/wordpress\/wp-json\/wp\/v2\/comments?post=57"}],"version-history":[{"count":7,"href":"https:\/\/kuo.us.to\/wordpress\/wp-json\/wp\/v2\/posts\/57\/revisions"}],"predecessor-version":[{"id":631,"href":"https:\/\/kuo.us.to\/wordpress\/wp-json\/wp\/v2\/posts\/57\/revisions\/631"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kuo.us.to\/wordpress\/wp-json\/wp\/v2\/media\/271"}],"wp:attachment":[{"href":"https:\/\/kuo.us.to\/wordpress\/wp-json\/wp\/v2\/media?parent=57"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kuo.us.to\/wordpress\/wp-json\/wp\/v2\/categories?post=57"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kuo.us.to\/wordpress\/wp-json\/wp\/v2\/tags?post=57"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}