﻿{"id":577,"date":"2020-11-10T20:41:46","date_gmt":"2020-11-10T12:41:46","guid":{"rendered":"https:\/\/byy3.com\/?p=577"},"modified":"2021-01-09T10:10:08","modified_gmt":"2021-01-09T02:10:08","slug":"python%e5%ba%93geopandas%e5%bc%80%e6%ba%90%e9%a1%b9%e7%9b%ae%e5%8f%8a%e5%9c%a8%e7%ba%bf%e6%b5%8b%e8%af%95%e4%bb%a3%e7%a0%81jupyter-notebook","status":"publish","type":"post","link":"https:\/\/byy3.com\/?p=577","title":{"rendered":"python\u5e93geopandas\u5f00\u6e90\u9879\u76ee\u53ca\u5728\u7ebf\u6d4b\u8bd5\u4ee3\u7801jupyter notebook"},"content":{"rendered":"<p>\u6559\u7a0b\u6765\u6e90https:\/\/developer.ibm.com\/zh\/technologies\/analytics\/tutorials\/data-analysis-in-python-using-pandas\/<\/p>\n<p>\u5728\u7ebfpython\u7684jupyter notebook\u6d4b\u8bd5\u4ee3\u7801<a href=\"https:\/\/byy3.com\/go\/?url=https:\/\/mybinder.org\/v2\/gh\/geopandas\/geopandas\/master\" target=\"_blank\" rel=\"noopener noreferrer\" rel=\"nofollow\" >https:\/\/mybinder.org\/v2\/gh\/geopandas\/geopandas\/master<\/a><\/p>\n<p>\u6765\u81ea\u5f00\u6e90\u9879\u76ee\u5730\u5740:\u00a0<a href=\"https:\/\/byy3.com\/go\/?url=https:\/\/github.com\/lvwuwei\/geopandas\" target=\"_blank\" rel=\"noopener noreferrer\" rel=\"nofollow\" > https:\/\/github.com\/lvwuwei\/geopandas<\/a><\/p>\n<p>\u6570\u636e\u5e27\u662f\u4e00\u79cd\u4e8c\u7ef4\u6570\u636e\u7ed3\u6784\u3002\u6570\u636e\u7531\u884c\u548c\u5217\u7ec4\u6210\uff0c\u53ef\u4ee5\u4ee5\u5404\u79cd\u65b9\u5f0f\u521b\u5efa\u8fd9\u4e9b\u884c\u548c\u5217\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u52a0\u8f7d\u6587\u4ef6\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528 NumPy \u6570\u7ec4\u548c\u65e5\u671f\u4f5c\u4e3a\u7d22\u5f15\u3002<a href=\"https:\/\/byy3.com\/go\/?url=https:\/\/numpy.org\/\" rel=\"nofollow\" >NumPy<\/a>\u00a0\u662f\u4e00\u4e2a Python \u5e93\uff0c\u53ef\u5904\u7406\u591a\u7ef4\u6570\u7ec4\u548c\u77e9\u9635\uff08\u77e9\u9635\u4e2d\u5305\u542b\u8981\u5bf9\u8fd9\u4e9b\u6570\u7ec4\u8fd0\u884c\u7684\u5927\u91cf\u7b97\u6570\u51fd\u6570\u96c6\u5408\uff09\u3002<\/p>\n<p>\u4ee5\u4e0b\u4ee3\u7801\u662f\u6570\u636e\u5e27\u00a0<code>df1<\/code>\u00a0\u7684\u793a\u4f8b\uff0c\u5176\u4e2d\u4ee5\u65e5\u671f\u4f5c\u4e3a\u7d22\u5f15\uff0c\u4ee5 6\u00d74 \u7684\u968f\u673a\u6570\u6570\u7ec4\u4f5c\u4e3a\u503c\uff0c\u5217\u540d\u79f0\u662f A\u3001B\u3001C \u548c D\u3002<\/p>\n<p>import pandas as pd<br \/>\nimport numpy as np<\/p>\n<div class=\"bx--snippet bx--snippet--multi bx--snippet-btn--expand--hide\" data-code-snippet=\"\">\n<div class=\"bx--snippet-container\" aria-label=\"Code Snippet Text\">\n<pre><code>dates = pd.date_range('20200101', periods=6)\r\nnumbers = np.random.randn(6, 4)\r\ndf1 = pd.DataFrame(numbers, index=dates, columns=['A', 'B', 'C', 'D'])\r\ndf1\r\n<\/code><\/pre>\n<\/div>\n<p><button class=\"bx--snippet-button\" tabindex=\"0\" type=\"button\" data-copy-btn=\"\" aria-label=\"Copy code\"><\/button><button class=\"bx--btn bx--btn--ghost bx--btn--sm bx--snippet-btn--expand\" type=\"button\"><span class=\"bx--snippet-btn--text\" data-show-more-text=\"\u663e\u793a\u66f4\u591a\" data-show-less-text=\"\u663e\u793a\u8f83\u5c11\">\u663e\u793a\u66f4\u591a<\/span><\/button><\/div>\n<div class=\"bx--snippet bx--snippet--multi bx--snippet-btn--expand--hide\" data-code-snippet=\"\">\u8fd0\u884c\u524d\u9762\u7684\u4ee3\u7801\u5c06\u751f\u6210\u7c7b\u4f3c\u4e0b\u56fe\u7684\u8f93\u51fa\u3002\u8be5 Notebook \u5c55\u793a\u4e86\u521b\u5efa\u6570\u636e\u5e27\u7684\u53e6\u5916\u51e0\u79cd\u65b9\u6cd5\u3002<\/div>\n<p><img decoding=\"async\" class=\"\" src=\"https:\/\/developer.ibm.com\/developer\/default\/tutorials\/data-analysis-in-python-using-pandas\/images\/data-frame.png\" data-data-original=\"https:\/\/developer.ibm.com\/developer\/default\/tutorials\/data-analysis-in-python-using-pandas\/images\/data-frame.png\" src=\"https:\/\/byy3.com\/wp-content\/themes\/MNews%20V2.4\/images\/post-loading.gif\" title=\"python\u5e93geopandas\u5f00\u6e90\u9879\u76ee\u53ca\u5728\u7ebf\u6d4b\u8bd5\u4ee3\u7801jupyter notebook\u63d2\u56fe\" alt=\"python\u5e93geopandas\u5f00\u6e90\u9879\u76ee\u53ca\u5728\u7ebf\u6d4b\u8bd5\u4ee3\u7801jupyter notebook\u63d2\u56fe\" \/><\/p>\n<p>\u672a\u5b8c\u6210\uff0c\u4e0b\u4e00\u6b65\u751f\u6210\u6574\u6570<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6559\u7a0b\u6765\u6e90https:\/\/developer.ibm.com\/zh\/technologies\/analytics [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[352],"class_list":["post-577","post","type-post","status-publish","format-standard","hentry","category-python","tag-python"],"_links":{"self":[{"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/posts\/577","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/byy3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=577"}],"version-history":[{"count":0,"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/posts\/577\/revisions"}],"wp:attachment":[{"href":"https:\/\/byy3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=577"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/byy3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=577"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/byy3.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}