{"id":2418,"date":"2023-07-22T08:36:27","date_gmt":"2023-07-22T08:36:27","guid":{"rendered":"https:\/\/statorials.org\/ko\/np-asarraydata%e1%84%85%e1%85%b3%e1%86%af-%e1%84%89%e1%85%a1%e1%84%8b%e1%85%ad%e1%86%bc%e1%84%92%e1%85%a1%e1%84%8b%e1%85%a7-%e1%84%80%e1%85%a2%e1%86%a8%e1%84%8e%e1%85%a6-%e1%84%80%e1%85%a5%e1%86%b7\/"},"modified":"2023-07-22T08:36:27","modified_gmt":"2023-07-22T08:36:27","slug":"np-asarraydata%e1%84%85%e1%85%b3%e1%86%af-%e1%84%89%e1%85%a1%e1%84%8b%e1%85%ad%e1%86%bc%e1%84%92%e1%85%a1%e1%84%8b%e1%85%a7-%e1%84%80%e1%85%a2%e1%86%a8%e1%84%8e%e1%85%a6-%e1%84%80%e1%85%a5%e1%86%b7","status":"publish","type":"post","link":"https:\/\/statorials.org\/ko\/np-asarraydata%e1%84%85%e1%85%b3%e1%86%af-%e1%84%89%e1%85%a1%e1%84%8b%e1%85%ad%e1%86%bc%e1%84%92%e1%85%a1%e1%84%8b%e1%85%a7-%e1%84%80%e1%85%a2%e1%86%a8%e1%84%8e%e1%85%a6-%e1%84%80%e1%85%a5%e1%86%b7\/","title":{"rendered":"\ud574\uacb0 \ubc29\ubc95: pandas \ub370\uc774\ud130\uac00 numpy \uac1c\uccb4 \uc720\ud615\uc73c\ub85c \ubcc0\ud658\ub429\ub2c8\ub2e4. np.asarray(data)\ub85c \uc785\ub825 \ub370\uc774\ud130\ub97c \ud655\uc778\ud569\ub2c8\ub2e4."},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">Python\uc744 \uc0ac\uc6a9\ud560 \ub54c \ubc1c\uc0dd\ud560 \uc218 \uc788\ub294 \uc624\ub958\ub294 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #ff0000;\">ValueError<\/span> : Pandas data cast to numpy dtype of object. Check input data with\nnp.asarray(data).\n<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">\uc774 \uc624\ub958\ub294 Python\uc5d0\uc11c \ud68c\uadc0 \ubaa8\ub378\uc744 \ud53c\ud305\ud558\ub824\uace0 \uc2dc\ub3c4\ud558\uace0 \ubaa8\ub378\uc744 \ud53c\ud305\ud558\uae30 \uc804\uc5d0 \ubc94\uc8fc\ud615 \ubcc0\uc218\ub97c <a href=\"https:\/\/statorials.org\/ko\/\u1112\u116c\u1100\u1171-\u1103\u1165\u1106\u1175-\u1107\u1167\u11ab\u1109\u116e\/\" target=\"_blank\" rel=\"noopener\">\ub354\ubbf8 \ubcc0\uc218<\/a> \ub85c \ubcc0\ud658\ud560 \uc218 \uc5c6\uc744 \ub54c \ubc1c\uc0dd\ud569\ub2c8\ub2e4.<\/span><\/p>\n<p> <span style=\"color: #000000;\">\ub2e4\uc74c \uc608\uc5d0\uc11c\ub294 \uc2e4\uc81c\ub85c \uc774 \uc624\ub958\ub97c \uc218\uc815\ud558\ub294 \ubc29\ubc95\uc744 \ubcf4\uc5ec\uc90d\ub2c8\ub2e4.<\/span><\/p>\n<h3> <span style=\"color: #000000;\"><strong>\uc624\ub958\ub97c \uc7ac\ud604\ud558\ub294 \ubc29\ubc95<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">\ub2e4\uc74c\uacfc \uac19\uc740 \ud32c\ub354 DataFrame\uc774 \uc788\ub2e4\uace0 \uac00\uc815\ud569\ub2c8\ub2e4.<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\"><span style=\"color: #000000;\"><span style=\"color: #008000;\">import<\/span> pandas <span style=\"color: #008000;\">as<\/span> pd\n\n<span style=\"color: #008080;\">#createDataFrame\n<\/span>df = pd. <span style=\"color: #3366ff;\">DataFrame<\/span> ({' <span style=\"color: #ff0000;\">team<\/span> ': ['A', 'A', 'A', 'A', 'B', 'B', 'B', 'B'],\n                   ' <span style=\"color: #ff0000;\">assists<\/span> ': [5, 7, 7, 9, 12, 9, 9, 4],\n                   ' <span style=\"color: #ff0000;\">rebounds<\/span> ': [11, 8, 10, 6, 6, 5, 9, 12],\n                   ' <span style=\"color: #ff0000;\">points<\/span> ': [14, 19, 8, 12, 17, 19, 22, 25]})\n\n<span style=\"color: #008080;\">#view DataFrame\n<\/span>df\n\n\tteam assists rebounds points\n0 A 5 11 14\n1 To 7 8 19\n2 A 7 10 8\n3 to 9 6 12\n4 B 12 6 17\n5 B 9 5 19\n6 B 9 9 22\n7 B 4 12 25<\/span><\/span><\/strong><\/pre>\n<p> <span style=\"color: #000000;\">\uc774\uc81c \ud300, \uc5b4\uc2dc\uc2a4\ud2b8, \ub9ac\ubc14\uc6b4\ub4dc\ub97c \uc608\uce21 \ubcc0\uc218\ub85c \uc0ac\uc6a9\ud558\uace0 \ud3ec\uc778\ud2b8\ub97c <a href=\"https:\/\/statorials.org\/ko\/\u1107\u1167\u11ab\u1109\u116e-\u1109\u1165\u11af\u1106\u1167\u11bc-\u110b\u1173\u11bc\u1103\u1161\u11b8\/\" target=\"_blank\" rel=\"noopener\">\uc751\ub2f5 \ubcc0\uc218<\/a> \ub85c \uc0ac\uc6a9\ud558\uc5ec <a href=\"https:\/\/statorials.org\/ko\/\u1103\u1161\u110c\u116e\u11bc-\u1109\u1165\u11ab\u1112\u1167\u11bc-\u1112\u116c\u1100\u1171\/\" target=\"_blank\" rel=\"noopener\">\ub2e4\uc911 \uc120\ud615 \ud68c\uadc0 \ubaa8\ub378\uc744<\/a> \uc801\ud569\uc2dc\ud0a4\ub824\uace0 \ud55c\ub2e4\uace0 \uac00\uc815\ud569\ub2c8\ub2e4.<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\"><span style=\"color: #000000;\"><span style=\"color: #008000;\">import<\/span> statsmodels. <span style=\"color: #3366ff;\">api<\/span> <span style=\"color: #008000;\">as<\/span> sm\n\n<span style=\"color: #008080;\">#define response variable\n<\/span>y = df['points']\n\n<span style=\"color: #008080;\">#define predictor variables\n<\/span>x = df[['team', 'assists', 'rebounds']]\n\n<span style=\"color: #008080;\">#add constant to predictor variables\n<\/span>x = sm. <span style=\"color: #3366ff;\">add_constant<\/span> (x)\n\n<span style=\"color: #008080;\">#attempt to fit regression model\n<\/span>model = sm. <span style=\"color: #3366ff;\">OLS<\/span> (y,x). <span style=\"color: #3366ff;\">fit<\/span> ()\n\n<span style=\"color: #ff0000;\">ValueError<\/span> : Pandas data cast to numpy dtype of object. Check input data with\nnp.asarray(data).\n<\/span><\/span><\/strong><\/pre>\n<p> <span style=\"color: #000000;\">&#8220;\ud300&#8221; \ubcc0\uc218\uac00 \ubc94\uc8fc\ud615\uc774\uace0 \ud68c\uadc0 \ubaa8\ub378\uc744 \ub9de\ucd94\uae30 \uc804\uc5d0 \uc774\ub97c \ub354\ubbf8 \ubcc0\uc218\ub85c \ubcc0\ud658\ud558\uc9c0 \uc54a\uc558\uae30 \ub54c\ubb38\uc5d0 \uc624\ub958\uac00 \ubc1c\uc0dd\ud569\ub2c8\ub2e4.<\/span><\/p>\n<h3> <span style=\"color: #000000;\"><strong>\uc624\ub958\ub97c \uc218\uc815\ud558\ub294 \ubc29\ubc95<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">\uc774 \uc624\ub958\ub97c \ud574\uacb0\ud558\ub294 \uac00\uc7a5 \uc26c\uc6b4 \ubc29\ubc95\uc740 <a href=\"https:\/\/pandas.pydata.org\/docs\/reference\/api\/pandas.get_dummies.html\" target=\"_blank\" rel=\"noopener\">pandas.get_dummies()<\/a> \ud568\uc218\ub97c \uc0ac\uc6a9\ud558\uc5ec &#8220;team&#8221; \ubcc0\uc218\ub97c \ub354\ubbf8 \ubcc0\uc218\ub85c \ubcc0\ud658\ud558\ub294 \uac83\uc785\ub2c8\ub2e4.<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>\ucc38\uace0<\/strong> : \ud68c\uadc0 \ubaa8\ub378\uc758 \ub354\ubbf8 \ubcc0\uc218\uc5d0 \ub300\ud574 \ube60\ub974\uac8c \ubcf5\uc2b5\ud558\ub824\uba74 <a href=\"https:\/\/statorials.org\/ko\/\u1111\u1162\u11ab\u1103\u1165\u1100\u1161-\u1106\u1169\u1103\u1166\u11af\u110b\u1175-\u1103\u116c\u1103\u1161\/\" target=\"_blank\" rel=\"noopener\">\uc774 \ud29c\ud1a0\ub9ac\uc5bc\uc744<\/a> \ud655\uc778\ud558\uc138\uc694.<\/span><\/p>\n<p> <span style=\"color: #000000;\">\ub2e4\uc74c \ucf54\ub4dc\ub294 &#8220;team&#8221;\uc744 \ub354\ubbf8 \ubcc0\uc218\ub85c \ubcc0\ud658\ud558\ub294 \ubc29\ubc95\uc744 \ubcf4\uc5ec\uc90d\ub2c8\ub2e4.<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\"><span style=\"color: #000000;\"><span style=\"color: #008000;\">import<\/span> pandas <span style=\"color: #008000;\">as<\/span> pd\n\n<span style=\"color: #008080;\">#createDataFrame\n<\/span>df = pd. <span style=\"color: #3366ff;\">DataFrame<\/span> ({' <span style=\"color: #ff0000;\">team<\/span> ': ['A', 'A', 'A', 'A', 'B', 'B', 'B', 'B'],\n                   ' <span style=\"color: #ff0000;\">assists<\/span> ': [5, 7, 7, 9, 12, 9, 9, 4],\n                   ' <span style=\"color: #ff0000;\">rebounds<\/span> ': [11, 8, 10, 6, 6, 5, 9, 12],\n                   ' <span style=\"color: #ff0000;\">points<\/span> ': [14, 19, 8, 12, 17, 19, 22, 25]})\n\n<span style=\"color: #008080;\">#convert \"team\" to dummy variable\n<\/span>df = pd. <span style=\"color: #3366ff;\">get_dummies<\/span> (df, columns=[' <span style=\"color: #ff0000;\">team<\/span> '], drop_first= <span style=\"color: #008000;\">True<\/span> )\n\n<span style=\"color: #008080;\">#view updated DataFrame\n<\/span>df\n\n        assists rebounds points team_B\n0 5 11 14 0\n1 7 8 19 0\n2 7 10 8 0\n3 9 6 12 0\n4 12 6 17 1\n5 9 5 19 1\n6 9 9 22 1\n7 4 12 25 1<\/span><\/span><\/strong><\/pre>\n<p> <span style=\"color: #000000;\"><span style=\"color: #000000;\">&#8216;\ud300&#8217; \uc5f4\uc758 \uac12\uc774 &#8216;A&#8217;\uc640 &#8216;B&#8217;\uc5d0\uc11c 0\uacfc 1\ub85c \ubcc0\ud658\ub418\uc5c8\uc2b5\ub2c8\ub2e4.<\/span><\/span><\/p>\n<p> <span style=\"color: #000000;\">\uc774\uc81c \uc0c8\ub85c\uc6b4 \ubcc0\uc218 &#8220;team_B&#8221;\ub97c \uc0ac\uc6a9\ud558\uc5ec \ub2e4\uc911 \uc120\ud615 \ud68c\uadc0 \ubaa8\ub378\uc744 \uc801\ud569\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\"><span style=\"color: #000000;\"><span style=\"color: #008000;\">import<\/span> statsmodels. <span style=\"color: #3366ff;\">api<\/span> <span style=\"color: #008000;\">as<\/span> sm\n\n<span style=\"color: #008080;\">#define response variable\n<\/span>y = df['points']\n\n<span style=\"color: #008080;\">#define predictor variables\n<\/span>x = df[['team_B', 'assists', 'rebounds']]\n\n<span style=\"color: #008080;\">#add constant to predictor variables\n<\/span>x = sm. <span style=\"color: #3366ff;\">add_constant<\/span> (x)\n\n<span style=\"color: #008080;\">#fit regression model\n<\/span>model = sm. <span style=\"color: #3366ff;\">OLS<\/span> (y,x). <span style=\"color: #3366ff;\">fit<\/span> ()\n\n<span style=\"color: #008080;\">#view summary of model fit\n<\/span><span style=\"color: #008000;\">print<\/span> ( <span style=\"color: #3366ff;\">model.summary<\/span> ())\n\n                            OLS Regression Results                            \n==================================================== ============================\nDept. Variable: R-squared points: 0.701\nModel: OLS Adj. R-squared: 0.476\nMethod: Least Squares F-statistic: 3.119\nDate: Thu, 11 Nov 2021 Prob (F-statistic): 0.150\nTime: 14:49:53 Log-Likelihood: -19.637\nNo. Observations: 8 AIC: 47.27\nDf Residuals: 4 BIC: 47.59\nDf Model: 3                                         \nCovariance Type: non-robust                                         \n==================================================== ============================\n                 coef std err t P&gt;|t| [0.025 0.975]\n-------------------------------------------------- ----------------------------\nconst 27.1891 17.058 1.594 0.186 -20.171 74.549\nteam_B 9.1288 3.032 3.010 0.040 0.709 17.548\nassists -1.3445 1.148 -1.171 0.307 -4.532 1.843\nrebounds -0.5174 1.099 -0.471 0.662 -3.569 2.534\n==================================================== ============================\nOmnibus: 0.691 Durbin-Watson: 3.075\nProb(Omnibus): 0.708 Jarque-Bera (JB): 0.145\nSkew: 0.294 Prob(JB): 0.930\nKurtosis: 2.698 Cond. No. 140.\n==================================================== ============================\n<\/span><\/span><\/strong><\/pre>\n<p> <span style=\"color: #000000;\">\uc774\ubc88\uc5d0\ub294 \uc624\ub958 \uc5c6\uc774 \ud68c\uadc0 \ubaa8\ub378\uc744 \ub9de\ucd9c \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>\ucc38\uace0<\/strong> : <a href=\"https:\/\/www.statsmodels.org\/dev\/examples\/notebooks\/generated\/ols.html\" target=\"_blank\" rel=\"noopener\">\uc5ec\uae30\uc5d0\uc11c<\/a> statsmodels \ub77c\uc774\ube0c\ub7ec\ub9ac\uc758 <strong>ols()<\/strong> \ud568\uc218\uc5d0 \ub300\ud55c \uc804\uccb4 \ubb38\uc11c\ub97c \ucc3e\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<h3> <span style=\"color: #000000;\"><strong>\ucd94\uac00 \ub9ac\uc18c\uc2a4<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">\ub2e4\uc74c \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 Python\uc758 \ub2e4\ub978 \uc77c\ubc18\uc801\uc778 \uc624\ub958\ub97c \uc218\uc815\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud569\ub2c8\ub2e4.<\/span><\/p>\n<p> <a href=\"https:\/\/statorials.org\/ko\/\u1111\u1162\u11ab\u1103\u1165-\u110f\u1175-\u110b\u1169\u1105\u1172\/\" target=\"_blank\" rel=\"noopener\">Pandas\uc5d0\uc11c KeyError\ub97c \uc218\uc815\ud558\ub294 \ubc29\ubc95<\/a><br \/> <a href=\"https:\/\/statorials.org\/ko\/valueerror\u1102\u1173\u11ab-float-nan\u110b\u1173\u11af-\u110c\u1165\u11bc\u1109\u116e\u1105\u1169-\u1107\u1167\u11ab\u1112\u116a\u11ab\u1112\u1161\u11af-\u1109\u116e-\u110b\u1165\u11b9\u1109\u1173\u11b8\u1102\u1175\u1103\u1161.\/\" target=\"_blank\" rel=\"noopener\">\ud574\uacb0 \ubc29\ubc95: ValueError: float NaN\uc744 int\ub85c \ubcc0\ud658\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.<\/a><br \/> <a href=\"https:\/\/statorials.org\/ko\/\u1111\u1175\u110b\u1167\u11ab\u1109\u1161\u11ab\u110c\u1161\u1105\u1173\u11af-\u1103\u1161\u110b\u1173\u11b7-\u1112\u1167\u11bc\u1109\u1175\u11a8\u110b\u1173\u1105\u1169-\u1107\u1173\u1105\u1169\u1103\u1173\u110f\u1162\u1109\u1173\u1110\u1173\u1112\u1161\u11af-\u1109\u116e-\u110b\u1165\u11b9\u1109\u1173\u11b8\u1102\u1175\u1103\u1161.\/\" target=\"_blank\" rel=\"noopener\">\ud574\uacb0 \ubc29\ubc95: ValueError: \ud53c\uc5f0\uc0b0\uc790\ub97c \ubaa8\uc591\uacfc \ud568\uaed8 \ube0c\ub85c\ub4dc\uce90\uc2a4\ud2b8\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Python\uc744 \uc0ac\uc6a9\ud560 \ub54c \ubc1c\uc0dd\ud560 \uc218 \uc788\ub294 \uc624\ub958\ub294 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4. ValueError : Pandas data cast to numpy dtype of object. Check input data with np.asarray(data). \uc774 \uc624\ub958\ub294 Python\uc5d0\uc11c \ud68c\uadc0 \ubaa8\ub378\uc744 \ud53c\ud305\ud558\ub824\uace0 \uc2dc\ub3c4\ud558\uace0 \ubaa8\ub378\uc744 \ud53c\ud305\ud558\uae30 \uc804\uc5d0 \ubc94\uc8fc\ud615 \ubcc0\uc218\ub97c \ub354\ubbf8 \ubcc0\uc218 \ub85c \ubcc0\ud658\ud560 \uc218 \uc5c6\uc744 \ub54c \ubc1c\uc0dd\ud569\ub2c8\ub2e4. \ub2e4\uc74c \uc608\uc5d0\uc11c\ub294 \uc2e4\uc81c\ub85c \uc774 \uc624\ub958\ub97c \uc218\uc815\ud558\ub294 \ubc29\ubc95\uc744 \ubcf4\uc5ec\uc90d\ub2c8\ub2e4. \uc624\ub958\ub97c \uc7ac\ud604\ud558\ub294 \ubc29\ubc95 [&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":[],"class_list":["post-2418","post","type-post","status-publish","format-standard","hentry","category-20"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\ud574\uacb0 \ubc29\ubc95: Pandas \ub370\uc774\ud130\uac00 numpy \uac1c\uccb4 \uc720\ud615\uc73c\ub85c \ubcc0\ud658\ub429\ub2c8\ub2e4. np.asarray(data)\ub85c \uc785\ub825 \ub370\uc774\ud130\ub97c \ud655\uc778\ud569\ub2c8\ub2e4. - \ud1b5\uacc4\ud559<\/title>\n<meta name=\"description\" content=\"\uc774 \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 pandas \ub370\uc774\ud130\uac00 numpy \uac1d\uccb4 \uc720\ud615\uc73c\ub85c \ubcc0\ud658\ub418\ub294 \uc624\ub958\ub97c \uc218\uc815\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud569\ub2c8\ub2e4. np.asarray(data)\ub85c \uc785\ub825 \ub370\uc774\ud130\ub97c \ud655\uc778\ud569\ub2c8\ub2e4.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/statorials.org\/ko\/np-asarraydata\u1105\u1173\u11af-\u1109\u1161\u110b\u116d\u11bc\u1112\u1161\u110b\u1167-\u1100\u1162\u11a8\u110e\u1166-\u1100\u1165\u11b7\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\ud574\uacb0 \ubc29\ubc95: Pandas \ub370\uc774\ud130\uac00 numpy \uac1c\uccb4 \uc720\ud615\uc73c\ub85c \ubcc0\ud658\ub429\ub2c8\ub2e4. np.asarray(data)\ub85c \uc785\ub825 \ub370\uc774\ud130\ub97c \ud655\uc778\ud569\ub2c8\ub2e4. - \ud1b5\uacc4\ud559\" \/>\n<meta property=\"og:description\" content=\"\uc774 \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 pandas \ub370\uc774\ud130\uac00 numpy \uac1d\uccb4 \uc720\ud615\uc73c\ub85c \ubcc0\ud658\ub418\ub294 \uc624\ub958\ub97c \uc218\uc815\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud569\ub2c8\ub2e4. np.asarray(data)\ub85c \uc785\ub825 \ub370\uc774\ud130\ub97c \ud655\uc778\ud569\ub2c8\ub2e4.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/ko\/np-asarraydata\u1105\u1173\u11af-\u1109\u1161\u110b\u116d\u11bc\u1112\u1161\u110b\u1167-\u1100\u1162\u11a8\u110e\u1166-\u1100\u1165\u11b7\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-22T08:36:27+00:00\" \/>\n<meta name=\"author\" content=\"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/ko\/np-asarraydata%e1%84%85%e1%85%b3%e1%86%af-%e1%84%89%e1%85%a1%e1%84%8b%e1%85%ad%e1%86%bc%e1%84%92%e1%85%a1%e1%84%8b%e1%85%a7-%e1%84%80%e1%85%a2%e1%86%a8%e1%84%8e%e1%85%a6-%e1%84%80%e1%85%a5%e1%86%b7\/\",\"url\":\"https:\/\/statorials.org\/ko\/np-asarraydata%e1%84%85%e1%85%b3%e1%86%af-%e1%84%89%e1%85%a1%e1%84%8b%e1%85%ad%e1%86%bc%e1%84%92%e1%85%a1%e1%84%8b%e1%85%a7-%e1%84%80%e1%85%a2%e1%86%a8%e1%84%8e%e1%85%a6-%e1%84%80%e1%85%a5%e1%86%b7\/\",\"name\":\"\ud574\uacb0 \ubc29\ubc95: Pandas \ub370\uc774\ud130\uac00 numpy \uac1c\uccb4 \uc720\ud615\uc73c\ub85c \ubcc0\ud658\ub429\ub2c8\ub2e4. np.asarray(data)\ub85c \uc785\ub825 \ub370\uc774\ud130\ub97c \ud655\uc778\ud569\ub2c8\ub2e4. - \ud1b5\uacc4\ud559\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/ko\/#website\"},\"datePublished\":\"2023-07-22T08:36:27+00:00\",\"dateModified\":\"2023-07-22T08:36:27+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/ko\/#\/schema\/person\/600556789b7d79cbaa9d9f0c721b74f4\"},\"description\":\"\uc774 \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 pandas \ub370\uc774\ud130\uac00 numpy \uac1d\uccb4 \uc720\ud615\uc73c\ub85c \ubcc0\ud658\ub418\ub294 \uc624\ub958\ub97c \uc218\uc815\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud569\ub2c8\ub2e4. np.asarray(data)\ub85c \uc785\ub825 \ub370\uc774\ud130\ub97c \ud655\uc778\ud569\ub2c8\ub2e4.\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/ko\/np-asarraydata%e1%84%85%e1%85%b3%e1%86%af-%e1%84%89%e1%85%a1%e1%84%8b%e1%85%ad%e1%86%bc%e1%84%92%e1%85%a1%e1%84%8b%e1%85%a7-%e1%84%80%e1%85%a2%e1%86%a8%e1%84%8e%e1%85%a6-%e1%84%80%e1%85%a5%e1%86%b7\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/ko\/np-asarraydata%e1%84%85%e1%85%b3%e1%86%af-%e1%84%89%e1%85%a1%e1%84%8b%e1%85%ad%e1%86%bc%e1%84%92%e1%85%a1%e1%84%8b%e1%85%a7-%e1%84%80%e1%85%a2%e1%86%a8%e1%84%8e%e1%85%a6-%e1%84%80%e1%85%a5%e1%86%b7\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/ko\/np-asarraydata%e1%84%85%e1%85%b3%e1%86%af-%e1%84%89%e1%85%a1%e1%84%8b%e1%85%ad%e1%86%bc%e1%84%92%e1%85%a1%e1%84%8b%e1%85%a7-%e1%84%80%e1%85%a2%e1%86%a8%e1%84%8e%e1%85%a6-%e1%84%80%e1%85%a5%e1%86%b7\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\uc9d1\",\"item\":\"https:\/\/statorials.org\/ko\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\ud574\uacb0 \ubc29\ubc95: pandas \ub370\uc774\ud130\uac00 numpy \uac1c\uccb4 \uc720\ud615\uc73c\ub85c \ubcc0\ud658\ub429\ub2c8\ub2e4. np.asarray(data)\ub85c \uc785\ub825 \ub370\uc774\ud130\ub97c \ud655\uc778\ud569\ub2c8\ub2e4.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/ko\/#website\",\"url\":\"https:\/\/statorials.org\/ko\/\",\"name\":\"Statorials\",\"description\":\"\ud1b5\uacc4 \ud65c\uc6a9 \ub2a5\ub825\uc744 \uc704\ud55c \uac00\uc774\ub4dc!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/ko\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/ko\/#\/schema\/person\/600556789b7d79cbaa9d9f0c721b74f4\",\"name\":\"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/statorials.org\/ko\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/statorials.org\/ko\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"https:\/\/statorials.org\/ko\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8\"},\"description\":\"\uc548\ub155\ud558\uc138\uc694. \uc800\ub294 \ud1b5\uacc4\ud559 \uad50\uc218\ub97c \ud1f4\uc9c1\ud558\uace0 \uc804\uc784 \ud1b5\uacc4 \uad50\uc0ac\ub85c \ubcc0\uc2e0\ud55c \ubca4\uc790\ubbfc\uc785\ub2c8\ub2e4. \ud1b5\uacc4 \ubd84\uc57c\uc758 \uad11\ubc94\uc704\ud55c \uacbd\ud5d8\uacfc \uc804\ubb38 \uc9c0\uc2dd\uc744 \ubc14\ud0d5\uc73c\ub85c Statorials\ub97c \ud1b5\ud574 \ud559\uc0dd\ub4e4\uc5d0\uac8c \ud798\uc744 \uc2e4\uc5b4\uc8fc\uae30 \uc704\ud574 \uc9c0\uc2dd\uc744 \uacf5\uc720\ud558\uace0 \uc2f6\uc2b5\ub2c8\ub2e4. \ub354 \uc54c\uc544\ubcf4\uae30\",\"sameAs\":[\"https:\/\/statorials.org\/ko\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\ud574\uacb0 \ubc29\ubc95: Pandas \ub370\uc774\ud130\uac00 numpy \uac1c\uccb4 \uc720\ud615\uc73c\ub85c \ubcc0\ud658\ub429\ub2c8\ub2e4. np.asarray(data)\ub85c \uc785\ub825 \ub370\uc774\ud130\ub97c \ud655\uc778\ud569\ub2c8\ub2e4. - \ud1b5\uacc4\ud559","description":"\uc774 \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 pandas \ub370\uc774\ud130\uac00 numpy \uac1d\uccb4 \uc720\ud615\uc73c\ub85c \ubcc0\ud658\ub418\ub294 \uc624\ub958\ub97c \uc218\uc815\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud569\ub2c8\ub2e4. np.asarray(data)\ub85c \uc785\ub825 \ub370\uc774\ud130\ub97c \ud655\uc778\ud569\ub2c8\ub2e4.","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:\/\/statorials.org\/ko\/np-asarraydata\u1105\u1173\u11af-\u1109\u1161\u110b\u116d\u11bc\u1112\u1161\u110b\u1167-\u1100\u1162\u11a8\u110e\u1166-\u1100\u1165\u11b7\/","og_locale":"ko_KR","og_type":"article","og_title":"\ud574\uacb0 \ubc29\ubc95: Pandas \ub370\uc774\ud130\uac00 numpy \uac1c\uccb4 \uc720\ud615\uc73c\ub85c \ubcc0\ud658\ub429\ub2c8\ub2e4. np.asarray(data)\ub85c \uc785\ub825 \ub370\uc774\ud130\ub97c \ud655\uc778\ud569\ub2c8\ub2e4. - \ud1b5\uacc4\ud559","og_description":"\uc774 \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 pandas \ub370\uc774\ud130\uac00 numpy \uac1d\uccb4 \uc720\ud615\uc73c\ub85c \ubcc0\ud658\ub418\ub294 \uc624\ub958\ub97c \uc218\uc815\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud569\ub2c8\ub2e4. np.asarray(data)\ub85c \uc785\ub825 \ub370\uc774\ud130\ub97c \ud655\uc778\ud569\ub2c8\ub2e4.","og_url":"https:\/\/statorials.org\/ko\/np-asarraydata\u1105\u1173\u11af-\u1109\u1161\u110b\u116d\u11bc\u1112\u1161\u110b\u1167-\u1100\u1162\u11a8\u110e\u1166-\u1100\u1165\u11b7\/","og_site_name":"Statorials","article_published_time":"2023-07-22T08:36:27+00:00","author":"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8","twitter_card":"summary_large_image","twitter_misc":{"Written by":"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8","Est. reading time":"2\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/ko\/np-asarraydata%e1%84%85%e1%85%b3%e1%86%af-%e1%84%89%e1%85%a1%e1%84%8b%e1%85%ad%e1%86%bc%e1%84%92%e1%85%a1%e1%84%8b%e1%85%a7-%e1%84%80%e1%85%a2%e1%86%a8%e1%84%8e%e1%85%a6-%e1%84%80%e1%85%a5%e1%86%b7\/","url":"https:\/\/statorials.org\/ko\/np-asarraydata%e1%84%85%e1%85%b3%e1%86%af-%e1%84%89%e1%85%a1%e1%84%8b%e1%85%ad%e1%86%bc%e1%84%92%e1%85%a1%e1%84%8b%e1%85%a7-%e1%84%80%e1%85%a2%e1%86%a8%e1%84%8e%e1%85%a6-%e1%84%80%e1%85%a5%e1%86%b7\/","name":"\ud574\uacb0 \ubc29\ubc95: Pandas \ub370\uc774\ud130\uac00 numpy \uac1c\uccb4 \uc720\ud615\uc73c\ub85c \ubcc0\ud658\ub429\ub2c8\ub2e4. np.asarray(data)\ub85c \uc785\ub825 \ub370\uc774\ud130\ub97c \ud655\uc778\ud569\ub2c8\ub2e4. - \ud1b5\uacc4\ud559","isPartOf":{"@id":"https:\/\/statorials.org\/ko\/#website"},"datePublished":"2023-07-22T08:36:27+00:00","dateModified":"2023-07-22T08:36:27+00:00","author":{"@id":"https:\/\/statorials.org\/ko\/#\/schema\/person\/600556789b7d79cbaa9d9f0c721b74f4"},"description":"\uc774 \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 pandas \ub370\uc774\ud130\uac00 numpy \uac1d\uccb4 \uc720\ud615\uc73c\ub85c \ubcc0\ud658\ub418\ub294 \uc624\ub958\ub97c \uc218\uc815\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud569\ub2c8\ub2e4. np.asarray(data)\ub85c \uc785\ub825 \ub370\uc774\ud130\ub97c \ud655\uc778\ud569\ub2c8\ub2e4.","breadcrumb":{"@id":"https:\/\/statorials.org\/ko\/np-asarraydata%e1%84%85%e1%85%b3%e1%86%af-%e1%84%89%e1%85%a1%e1%84%8b%e1%85%ad%e1%86%bc%e1%84%92%e1%85%a1%e1%84%8b%e1%85%a7-%e1%84%80%e1%85%a2%e1%86%a8%e1%84%8e%e1%85%a6-%e1%84%80%e1%85%a5%e1%86%b7\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/ko\/np-asarraydata%e1%84%85%e1%85%b3%e1%86%af-%e1%84%89%e1%85%a1%e1%84%8b%e1%85%ad%e1%86%bc%e1%84%92%e1%85%a1%e1%84%8b%e1%85%a7-%e1%84%80%e1%85%a2%e1%86%a8%e1%84%8e%e1%85%a6-%e1%84%80%e1%85%a5%e1%86%b7\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/ko\/np-asarraydata%e1%84%85%e1%85%b3%e1%86%af-%e1%84%89%e1%85%a1%e1%84%8b%e1%85%ad%e1%86%bc%e1%84%92%e1%85%a1%e1%84%8b%e1%85%a7-%e1%84%80%e1%85%a2%e1%86%a8%e1%84%8e%e1%85%a6-%e1%84%80%e1%85%a5%e1%86%b7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\uc9d1","item":"https:\/\/statorials.org\/ko\/"},{"@type":"ListItem","position":2,"name":"\ud574\uacb0 \ubc29\ubc95: pandas \ub370\uc774\ud130\uac00 numpy \uac1c\uccb4 \uc720\ud615\uc73c\ub85c \ubcc0\ud658\ub429\ub2c8\ub2e4. np.asarray(data)\ub85c \uc785\ub825 \ub370\uc774\ud130\ub97c \ud655\uc778\ud569\ub2c8\ub2e4."}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/ko\/#website","url":"https:\/\/statorials.org\/ko\/","name":"Statorials","description":"\ud1b5\uacc4 \ud65c\uc6a9 \ub2a5\ub825\uc744 \uc704\ud55c \uac00\uc774\ub4dc!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/ko\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ko-KR"},{"@type":"Person","@id":"https:\/\/statorials.org\/ko\/#\/schema\/person\/600556789b7d79cbaa9d9f0c721b74f4","name":"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/statorials.org\/ko\/#\/schema\/person\/image\/","url":"https:\/\/statorials.org\/ko\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"https:\/\/statorials.org\/ko\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8"},"description":"\uc548\ub155\ud558\uc138\uc694. \uc800\ub294 \ud1b5\uacc4\ud559 \uad50\uc218\ub97c \ud1f4\uc9c1\ud558\uace0 \uc804\uc784 \ud1b5\uacc4 \uad50\uc0ac\ub85c \ubcc0\uc2e0\ud55c \ubca4\uc790\ubbfc\uc785\ub2c8\ub2e4. \ud1b5\uacc4 \ubd84\uc57c\uc758 \uad11\ubc94\uc704\ud55c \uacbd\ud5d8\uacfc \uc804\ubb38 \uc9c0\uc2dd\uc744 \ubc14\ud0d5\uc73c\ub85c Statorials\ub97c \ud1b5\ud574 \ud559\uc0dd\ub4e4\uc5d0\uac8c \ud798\uc744 \uc2e4\uc5b4\uc8fc\uae30 \uc704\ud574 \uc9c0\uc2dd\uc744 \uacf5\uc720\ud558\uace0 \uc2f6\uc2b5\ub2c8\ub2e4. \ub354 \uc54c\uc544\ubcf4\uae30","sameAs":["https:\/\/statorials.org\/ko"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/posts\/2418","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/comments?post=2418"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/posts\/2418\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/media?parent=2418"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/categories?post=2418"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/tags?post=2418"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}