{"id":10590,"date":"2013-11-17T17:57:00","date_gmt":"2013-11-17T17:57:00","guid":{"rendered":"http:\/\/melotopia.net\/b\/?p=10590"},"modified":"2013-11-17T17:57:00","modified_gmt":"2013-11-17T17:57:00","slug":"append%ec%99%80-insert","status":"publish","type":"post","link":"http:\/\/melotopia.net\/b\/?p=10590","title":{"rendered":"append\uc640 insert"},"content":{"rendered":"<div class=\"desc\">\n<div class=\"tt_article_useless_p_margin\">\n<p>\n          list\uc5d0\ub294 append\uc640 insert\uac00 \uad6c\ud604\ub418\uc5b4 \uc788\ub2e4.\n         <\/p>\n<p>\n          numpy\uc5d0\ub3c4 \ub9c8\ucc2c\uac00\uc9c0\ub85c append\uc640 insert\uac00 \uad6c\ud604\ub418\uc5b4 \uc788\ub294\ub370, \uc0ac\uc6a9\ud560\ub54c \uc8fc\uc758\uac00 \ud544\uc694\ud558\ub2e4.\n         <\/p>\n<p>\n\n<\/p>\n<p>\n          import numpy<br \/>\n          \n<\/p>\n<p>\n          numpy.insert(a, n, m)\n         <\/p>\n<p>\n          a\ub77c\ub294 array\uc758 n\ubc88\uc9f8 \uc790\ub9ac\uc5d0 m\uc744 \ub07c\uc6cc\ub123\uc740 array\ub97c \ub418\ub3cc\ub824 \uc900\ub2e4.\n         <\/p>\n<p>\n\n<\/p>\n<p>\n          \uac00\uc7a5 \ub9c8\uc9c0\ub9c9\uc5d0 \ubb58 \ub123\uace0 \uc2f6\uc740 \uacbd\uc6b0 n=-1\uc744 \uc4f0\uba74 \ub420 \uac83 \uac19\uc9c0\ub9cc \uc0ac\uc2e4\uc740 \uadf8\ub807\uc9c0 \uc54a\ub2e4. \uac00\uc7a5 \ub9c8\uc9c0\ub9c9\uc5d0 \ub123\uace0 \uc2f6\uc744\ub550 append\ub97c \uc0ac\uc6a9\ud574\uc57c \ud55c\ub2e4.\n         <\/p>\n<p>\n\n<\/p>\n<p>\n          numpy.append(a, m)\n         <\/p>\n<p>\n          \uc774\uac74 a\ub77c\ub294 array\uc758 \uac00\uc7a5 \ub05d\uc5d0 m\uc744 \ub07c\uc6cc\ub123\uc740 array\ub97c \ub418\ub3cc\ub824 \uc900\ub2e4.\n         <\/p>\n<p>\n\n<\/p>\n<p>\n          \ubc30\uc5f4\uc758 \uc704\uce58 \uc9c0\uc815\uc774 \uc2e4\uc81c \ubc30\uc5f4 \uc694\uc18c\uac00 \uc544\ub2c8\ub77c \ubc30\uc5f4 \uc694\uc18c\uc758 \ubc14\ub85c \uc55e\uc5d0 \uc788\ub294 \uce78\ub9c9\uc774\uc5d0 \ubc88\ud638\uac00 \ubd99\uc5b4\uc788\uace0, \ubc30\uc5f4\uc5d0\uc11c \uc6d0\uc18c\ub97c \uac00\uc838\uc62c \ub54c\ub294 \uadf8 \uce78\ub9c9\uc774\uc758 \ubc14\ub85c \ub4a4\uc5d0 \uc788\ub294 \uc6d0\uc18c\ub97c \uac16\uace0 \uc624\ub294 \ubc29\uc2dd\uc774\ub2e4\ubcf4\ub2c8 \ub098\ud0c0\ub098\ub294 \uc77c\uc774\ub2e4. insert\ub294 \uce78\ub9c9\uc774\uac00 \uc788\ub294 \uacf3\uc5d0 \uac00\uc11c \ud55c\uce78 \ub9cc\ub4e4\uace0 \uac70\uae30\uc5d0 \uc6d0\uc18c\ub97c \ud558\ub098 \ucd94\uac00\ud560 \ubfd0\uc774\ub2e4.\n         <\/p>\n<p>\n\n<\/p>\n<p>\n\n<\/p>\n<div style=\"width:100%;margin-top:30px;clear:both;height:30px\">\n<div style=\"width:31px;float:left;\">\n<a href=\"\/toolbar\/popup\/abuseReport\/?entryId=3431\" onclick=\"window.open(this.href, 'tistoryThisBlogPopup', 'width=550, height=510, toolbar=no, menubar=no, status=no, scrollbars=no'); return false;\"><br \/>\n<img data-recalc-dims=\"1\" decoding=\"async\" alt=\"\uc2e0\uace0\" src=\"https:\/\/i0.wp.com\/t1.daumcdn.net\/tistory_admin\/static\/ico\/ico_spam_report.png\" style=\"border:0\"\/><br \/>\n<\/a>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>list\uc5d0\ub294 append\uc640 insert\uac00 \uad6c\ud604\ub418\uc5b4 \uc788\ub2e4. numpy\uc5d0\ub3c4 \ub9c8\ucc2c\uac00\uc9c0\ub85c append\uc640 insert\uac00 \uad6c\ud604\ub418\uc5b4 \uc788\ub294\ub370, \uc0ac\uc6a9\ud560\ub54c \uc8fc\uc758\uac00 \ud544\uc694\ud558\ub2e4. import numpy numpy.insert(a, n, m) a\ub77c\ub294 array\uc758 n\ubc88\uc9f8 \uc790\ub9ac\uc5d0 m\uc744 \ub07c\uc6cc\ub123\uc740 array\ub97c \ub418\ub3cc\ub824 \uc900\ub2e4. \uac00\uc7a5 \ub9c8\uc9c0\ub9c9\uc5d0 \ubb58 \ub123\uace0 \uc2f6\uc740 \uacbd\uc6b0 n=-1\uc744 \uc4f0\uba74 \ub420 \uac83 \uac19\uc9c0\ub9cc \uc0ac\uc2e4\uc740 \uadf8\ub807\uc9c0 \uc54a\ub2e4. \uac00\uc7a5 \ub9c8\uc9c0\ub9c9\uc5d0 \ub123\uace0 \uc2f6\uc744\ub550 append\ub97c \uc0ac\uc6a9\ud574\uc57c \ud55c\ub2e4. numpy.append(a, m) \uc774\uac74 a\ub77c\ub294 array\uc758 \uac00\uc7a5 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[12],"tags":[],"class_list":["post-10590","post","type-post","status-publish","format-standard","hentry","category-12"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8o6gA-2KO","jetpack-related-posts":[],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/posts\/10590","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10590"}],"version-history":[{"count":0,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/posts\/10590\/revisions"}],"wp:attachment":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10590"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10590"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10590"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}