{"id":944,"date":"2020-05-29T02:48:27","date_gmt":"2020-05-28T19:48:27","guid":{"rendered":"http:\/\/www.miai.vn\/?p=944"},"modified":"2020-05-29T02:48:27","modified_gmt":"2020-05-28T19:48:27","slug":"nhap-mon-data-analysis-voi-python","status":"publish","type":"post","link":"https:\/\/miai.vn\/?p=944","title":{"rendered":"[DA-DS]Nh\u1eadp m\u00f4n Data Analysis v\u1edbi Python"},"content":{"rendered":"\n<p>Xin ch\u00e0o to\u00e0n th\u1ec3 anh em M\u00ec \u0103n li\u1ec1n AI, h\u00f4m nay ch\u00fang ta s\u1ebd c\u00f9ng nhau \u0111\u1ebfn v\u1edbi series m\u1edbi v\u1ec1 Data Analysis (DA) v\u1edbi Python.<\/p>\n\n\n\n<p>\u0110\u00e2y l\u00e0 m\u1ed9t series m\u1edbi ho\u00e0n to\u00e0n d\u00e0nh cho c\u00e1c b\u1ea1n \u0111ang h\u1ecdc v\u1ec1 DA do m\u1ed9t MOD n\u1eef c\u1ee7a M\u00ec Ai Blog ph\u1ee5 tr\u00e1ch, hi v\u1ecdng c\u00e1c b\u1ea1n s\u1ebd t\u00ecm \u0111\u01b0\u1ee3c nhi\u1ec1u th\u00f4ng tin b\u1ed5 \u00edch.<\/p>\n\n\n\n<p>Series nh\u1eafm \u0111\u1ebfn c\u00e1c b\u1ea1n m\u1edbi b\u1eaft \u0111\u1ea7u t\u00ecm hi\u1ec3u v\u1ec1 DA v\u00e0 Python n\u00ean c\u00e1c cao th\u1ee7 c\u00f3 th\u1ec3 b\u1ecf qua nh\u00e9! <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/img.atpsoftware.vn\/2020\/03\/c%C3%A1ch-ph%C3%A2n-t%C3%ADch-d%E1%BB%AF-li%E1%BB%87u.png\" alt=\"data analysis\"\/><figcaption>Ngu\u1ed3n: <a href=\"https:\/\/img.atpsoftware.vn\/2020\/03\/c%C3%A1ch-ph%C3%A2n-t%C3%ADch-d%E1%BB%AF-li%E1%BB%87u.png\">T\u1ea1i \u0111\u00e2y<\/a><\/figcaption><\/figure>\n\n\n\n<!-- InPost_Ad -->\n<ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-5095883280136027\" data-ad-slot=\"7735063137\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<p>B\u00e0i vi\u1ebft n\u00e0y mu\u1ed1n chia s\u1ebb v\u1edbi c\u00e1c anh ch\u1ecb em (ace) d\u00f9 l\u00e0 b\u1eaft \u0111\u1ea7u t\u1eeb sinh vi\u00ean k\u1ef9 thu\u1eadt\/ sinh vi\u00ean c\u00e1c tr\u01b0\u1eddng kinh t\u1ebf, hay c\u00e1c anh ch\u1ecb em v\u1eeba \u0111i l\u00e0m, \u0111\u00e3 \u0111i l\u00e0m l\u00e2u n\u0103m mu\u1ed1n chuy\u1ec3n sang d\u00f9ng Python \u0111\u1ec3 c\u00f3 th\u00eam c\u00f4ng c\u1ee5 gi\u00fap \u00edch cho vi\u1ec7c ph\u00e2n t\u00edch s\u1ed1 li\u1ec7u (Data Analysis v\u1edbi Python) . V\u00ec v\u1eady trong b\u00e0i \u0111\u1ea7u ti\u00ean n\u00e0y minh mu\u1ed1n \u0111i v\u00e0o vi\u1ec7c gi\u1edbi thi\u1ec7u c\u00e1ch th\u1ee9c c\u00e0i \u0111\u1eb7t nhanh ch\u00f3ng tr\u01b0\u1edbc khi b\u1eaft tay v\u00e0o khai th\u00e1c s\u1ed1 li\u1ec7u.<\/p>\n\n\n\n<p>\u0110\u1ed1i v\u1edbi c\u00e1c anh em c\u00f3 base k\u1ef9 thu\u1eadt vi\u1ec7c tri\u1ec3n khai m\u1ed9t c\u00f4ng c\u1ee5 l\u1eadp tr\u00ecnh m\u1edbi c\u00f3 l\u1ebd kh\u00f4ng c\u00f3 nhi\u1ec1u v\u1ea5t v\u1ea3, nh\u01b0ng \u0111\u1ed1i v\u1edbi c\u00e1c anh em l\u00e0m Ph\u00e2n t\u00edch d\u1eef li\u1ec7u vi\u1ec7c n\u00e0y c\u00f3 th\u1ec3 ch\u01b0a quen thu\u1ed9c. Do v\u1eady n\u1ebfu c\u00e1c b\u1ea1n \u0111\u00e3 bi\u1ebft, \u0111\u00e3 c\u00e0i \u0111\u1eb7t Python r\u1ed3i th\u00ec c\u00f3 th\u1ec3 b\u1ecf qua b\u00e0i vi\u1ebft n\u00e0y nh\u00e9!<\/p>\n\n\n\n<p>Ok, b\u1eaft \u0111\u1ea7u!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ph\u1ea7n 1 &#8211; C\u00e0i \u0111\u1eb7t Python<\/h2>\n\n\n\n<p>V\u1ec1 Python th\u00ec hi\u1ec7n \u0111\u00e3 c\u00f3 phi\u00ean b\u1ea3n 3.8 tuy nhi\u00ean theo kinh nghi\u1ec7m c\u1ee7a m\u00ecnh th\u00ec n\u00ean x\u00e0i Python 3.7 cho n\u00f3 l\u00e0nh, \u0111\u1ee1 b\u1ecb c\u1ee7 h\u00e0nh.<\/p>\n\n\n\n<p>\u0110\u1ec3 c\u00e0i \u0111\u1eb7t Python c\u00e1c b\u1ea1n t\u1ea3i lu\u00f4n t\u1ea1i trang ch\u1ee7 c\u1ee7a Python lu\u00f4n, link b\u1ea3n 3.7 l\u00e0: <a rel=\"noreferrer noopener\" href=\"https:\/\/www.python.org\/downloads\/release\/python-377\/\" target=\"_blank\">https:\/\/www.python.org\/downloads\/release\/python-377\/<\/a>. Anh em ch\u1ecdn b\u1ea3n c\u00e0i \u0111\u1eb7t \u0111\u00fang v\u1edbi OS c\u1ee7a m\u00ecnh (MacOS, Window, &#8230;.)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/github.com\/thangnch\/MiAI_DA_Start\/blob\/master\/Screen%20Shot%202020-05-29%20at%2008.44.50.png?raw=true\" alt=\"python data analysis\"\/><\/figure>\n\n\n\n<p>Chi ti\u1ebft c\u00e1ch c\u00e0i \u0111\u1eb7t th\u00ec anh em tham kh\u1ea3o t\u1ea1i \u0111\u00e2y:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Windows: <strong><a rel=\"noreferrer noopener\" href=\"https:\/\/codecute.com\/python\/huong-dan-cai-dat-lap-trinh-python-tren-windows-10.html\" target=\"_blank\">T\u1ea1i \u0111\u00e2y<\/a><\/strong><\/li><li>MacOS: <strong><a href=\"https:\/\/www.codehub.vn\/Cai-Dat-Python-3-Tren-MacOS\">T\u1ea1i \u0111\u00e2y<\/a><\/strong><\/li><\/ul>\n\n\n\n<p>Sau khi c\u00e0i \u0111\u1eb7t xong, c\u00e1c b\u1ea1n restart m\u00e1y v\u00e0 ki\u1ec3m tra b\u1eb1ng c\u00e1ch g\u00f5  l\u1ec7nh:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ python3 --version\nPython 3.7.0<\/code><\/pre>\n\n\n\n<p>N\u1ebfu hi\u1ec3n th\u1ecb ra phi\u00ean b\u1ea3n l\u00e0 okie r\u1ed3i, sang b\u01b0\u1edbc ti\u1ebfp theo!<\/p>\n\n\n\n<!-- InPost_Ad -->\n<ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-5095883280136027\" data-ad-slot=\"7735063137\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<h2 class=\"wp-block-heading\">Ph\u1ea7n 2 &#8211; C\u00e0i \u0111\u1eb7t IDE cho Python<\/h2>\n\n\n\n<p>V\u1ec1 nguy\u00ean t\u1eafc th\u00ec ch\u00fang ta c\u00f3 th\u1ec3 d\u00f9ng Notepad \u0111\u1ec3 code Python v\u00f4 t\u01b0 nh\u01b0ng code tr\u00ean c\u1eeda s\u1ed5 code \u1ee9ng d\u1ee5ng \u0111en tr\u1eafng \u0111\u01b0\u1ee3c th\u00ec ph\u1ea3i phong l\u00e0 th\u00e1nh v\u00ec qu\u00e1 kh\u00f3 code. Do \u0111\u00f3 n\u1ebfu nh\u01b0 c\u00f3 c\u00e1c c\u00f4ng c\u1ee5 l\u1eadp tr\u00ecnh (IDE) kh\u00e1c h\u1ed7 tr\u1ee3 c\u00e1c m\u00f3n nh\u01b0: auto complete, debug, trace&#8230; th\u00ec vi\u1ec7c l\u1eadp tr\u00ecnh c\u1ee7a anh em s\u1ebd \u0111\u01a1n gi\u1ea3n h\u01a1n r\u1ea5t nhi\u1ec1u. <\/p>\n\n\n\n<p>Vi\u1ec7c c\u00e0i \u0111\u1eb7t IDE n\u00e0o t\u00f9y v\u00e0o s\u1edf th\u00edch v\u00e0 nhu c\u1ea7u c\u1ee7a c\u00e1c b\u1ea1n, m\u00ecnh th\u00edch Pycharm n\u00ean m\u00ecnh c\u00e0i Pycharm (\u0111\u01a1n gi\u1ea3n th\u1ebf th\u00f4i). B\u1ea1n n\u00e0o mu\u1ed1n d\u00f9ng Pycharm nh\u01b0 m\u00ecnh th\u00ec t\u1ea3i <strong><a rel=\"noreferrer noopener\" href=\"https:\/\/www.jetbrains.com\/pycharm\/download\/\" target=\"_blank\">t\u1ea1i \u0111\u00e2y<\/a><\/strong> nh\u00e9. Ri\u00eang th\u1eb1ng Pycharm n\u00e0y th\u00ec c\u1ee9 b\u1ea3n m\u1edbi nh\u1ea5t m\u00e0 t\u00e1ng :D.<\/p>\n\n\n\n<p>V\u1eady c\u00e2u h\u1ecfi l\u00e0 :  &#8220;Ch\u1ec9 c\u00f3 Pycharm m\u1edbi code \u0111\u01b0\u1ee3c python ph\u1ea3i kh\u00f4ng?&#8221; Kh\u00f4ng ph\u1ea3i nh\u00e9, c\u00f3 r\u1ea5t nhi\u1ec1u c\u00e1c \u0111\u1ed3 ch\u01a1i (tools) kh\u00e1c nhau gi\u00fap b\u1ea1n l\u00e0m vi\u1ec7c vi\u1ebft code n\u00e0y! <\/p>\n\n\n\n<p>V\u00ed d\u1ee5 m\u1ed9t s\u1ed1 c\u00f4ng c\u1ee5 \u0111\u1ec3 vi\u1ebft code tr\u00ean Python nh\u01b0 l\u00e0<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Eclipse + Pydev<\/li><li>Pycharm<\/li><li>Sublime Text<\/li><li>Visual Studio Code<\/li><li>Vim<\/li><li>GNU\/Emacs<\/li><li>Atom\/Atom-IDE<\/li><li>Cloud9<\/li><li>Spyder<\/li><li>Thonny<\/li><\/ol>\n\n\n\n<p>C\u00e1c b\u1ea1n c\u00f3 th\u1ec3 search tr\u00ean Google \u201cpython code editor tools\u201d \u0111\u1ec3 t\u00ecm hi\u1ec3u v\u1ec1 c\u00e1c \u0111i\u1ec3m kh\u00e1c bi\u1ec7t gi\u1eefa c\u00e1c c\u00f4ng c\u1ee5 n\u00e0y v\u00e0 l\u1ef1a ch\u1ecdn c\u00e1i ph\u00f9 h\u1ee3p nh\u1ea5t v\u1edbi minh nh\u00e9!<\/p>\n\n\n\n<p>M\u00ecnh th\u00ec ch\u1ecdn Pycharm v\u00ec c\u00e1c l\u00fd do: m\u00ecnh th\u00edch m\u00e0u s\u1eafc code c\u1ee7a n\u00f3, n\u00f3 c\u00f3 nhi\u1ec1u plugin h\u1ed7 tr\u1ee3 m\u1edf c\u00e1c file kh\u00e1c nhau v\u00e0 l\u00fd do m\u00ecnh th\u00edch nh\u1ea5t l\u00e0 <strong>n\u00f3 t\u1ea1o m\u00f4i tr\u01b0\u1eddng \u1ea3o ri\u00eang cho m\u1ed7i project m\u1ed9t c\u00e1ch t\u1ef1 \u0111\u1ed9ng<\/strong>, r\u1ea5t ph\u00ea! (source code v\u00e0 c\u00e0i c\u1eafm c\u1ee7a b\u00e0i to\u00e1n A s\u1ebd kh\u00f4ng bao gi\u1edd \u1ea3nh h\u01b0\u1edfng, g\u00e2y l\u1ed7i cho b\u00e0i to\u00e1n B).<\/p>\n\n\n\n<p><strong><em>B\u1ea1n Qu\u1ed1c Anh c\u00f3 g\u00f3p<\/em><\/strong> \u00fd :&#8221;C\u1ea3m \u01a1n a Th\u1eafng, b\u00e0i vi\u1ebft r\u1ea5t b\u1ed5 \u00edch v\u1edbi c\u00e1c mem b\u1eaft \u0111\u1ea7u theo DA. Em xin b\u1ed5 sung th\u00eam 1 t\u00ed v\u1ec1 c\u00e1i IDE, n\u1ebfu kh\u00f4ng mu\u1ed1n c\u00e0i v\u00e0o m\u00e1y, m\u00ecnh c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng Google Colab c\u00f3 tr\u00ean Drive . C\u00e1ch n\u00e0y v\u1eeba kh\u00f4ng c\u1ea7n c\u00e0i n\u1eb7ng m\u00e1y, v\u1eeba c\u00f3 ch\u1ea1y code m\u1ea1nh m\u1ebd, v\u1eeba l\u00e0 n\u01a1i l\u01b0u tr\u1eef code c\u1ee7a m\u00ecnh lu\u00f4n.&#8221;<\/p>\n\n\n\n<!-- InPost_Ad -->\n<ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-5095883280136027\" data-ad-slot=\"7735063137\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<h2 class=\"wp-block-heading\">Ph\u1ea7n 3 &#8211; \u0110i s\u00e2u h\u01a1n v\u1edbi Pycharm v\u00e0 Data Analysis v\u1edbi Python<\/h2>\n\n\n\n<h5 class=\"wp-block-heading\">C\u00e0i \u0111\u1eb7t Pycharm<\/h5>\n\n\n\n<p>C\u00e0i \u0111\u1eb7t th\u1eb1ng Pycharm n\u00e0y kh\u00e1 \u0111\u01a1n gi\u1ea3n, nh\u01b0 c\u00e0i game, hahaa. C\u00e1c b\u1ea1n follow link n\u00e0y \u0111\u1ec3 c\u00e0i:  <strong><a rel=\"noreferrer noopener\" href=\"https:\/\/nguyenvanhieu.vn\/cai-dat-python-va-pycharm-ide-tren-windows\/\" target=\"_blank\">T\u1ea1i \u0111\u00e2y<\/a><\/strong>.<\/p>\n\n\n\n<p>Sau khi c\u00e0i xong m\u1edf Pycharm th\u00ec c\u1eeda s\u1ed5 n\u00f3 s\u1ebd nh\u01b0 sau:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/github.com\/thangnch\/MiAI_DA_Start\/blob\/master\/Picture1.png?raw=true\" alt=\"\"\/><\/figure>\n\n\n\n<p>Kh\u00fac b\u00ean tr\u00e1i \u0111\u1ec3 hi\u1ec7n th\u1ecb c\u00e1c file c\u1ee7a Pycharm (m\u1ea7u xanh l\u00e1 c\u00e2y). Kh\u00fac b\u00ean ph\u1ea3i \u0111\u1ec3 vi\u1ebft code c\u1ee7a \u1ee9ng d\u1ee5ng (m\u1ea7u \u0111\u1ecf). Kh\u00fac d\u01b0\u1edbi c\u00f9ng \u0111\u1ec3 ch\u1ea1y \u1ee9ng d\u1ee5ng, xem k\u1ebft qu\u1ea3 (m\u1ea7u xanh n\u01b0\u1edbc bi\u1ec3n)<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">T\u1ea1o file Python \u0111\u1ea7u ti\u00ean<\/h5>\n\n\n\n<p>File Python l\u00e0 g\u00ec? \u0110\u00e2y l\u00e0 file code \u0111\u1ec3 vi\u1ebft ch\u01b0\u01a1ng tr\u00ecnh ch\u1ea1y phan t\u00edch d\u1eef li\u1ec7u. N\u1ebfu b\u1ea1n l\u00e0m vi\u1ec7c v\u1edbi nhi\u1ec1u d\u1eef li\u1ec7u kh\u00e1c nhau c\u00f3 th\u1ec3 chia th\u00e0nh nhi\u1ec1u file code kh\u00e1c nhau \u0111\u1ec3 ti\u1ec7n l\u01b0u tr\u1eef, n\u00f3 c\u0169ng nh\u01b0 c\u00e1c file\/ folder l\u00e0m vi\u1ec7c tr\u00ean m\u00e1y t\u00ednh v\u1eady.<\/p>\n\n\n\n<p>T\u1ea1i kh\u00fac b\u00ean tr\u00e1i c\u1ee7a Pycharm, \u0111\u1ee9ng \u1edf th\u01b0 m\u1ee5c venv (library root) &#8211;&gt; Click ch\u1ed9t ph\u1ea3i, ch\u1ecdn New &#8211;&gt; Ch\u1ecdn ti\u1ebfp Python file &#8211;&gt; \u0110\u1eb7t t\u00ean File Name c\u1ee7a \u1ee9ng d\u1ee5ng &#8211;&gt; nh\u1ea5n Enter.<\/p>\n\n\n\n<p>Sau khi t\u1ea1o tr\u00ean c\u1eeda s\u1ed5 b\u00ean tr\u00e1i s\u1ebd c\u00f3 th\u00eam 1 file Python, tr\u00ean c\u1eeda s\u1ed5 b\u00ean ph\u1ea3i s\u1ebd c\u00f3 th\u00eam 1 tab file Python \u0111\u1ec3 code.<\/p>\n\n\n\n<!-- InPost_Ad -->\n<ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-5095883280136027\" data-ad-slot=\"7735063137\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/github.com\/thangnch\/MiAI_DA_Start\/blob\/master\/Picture2.png?raw=true\" alt=\"data \"\/><\/figure>\n\n\n\n<h5 class=\"wp-block-heading\">C\u00e0i \u0111\u1eb7t c\u00e1c th\u01b0 vi\u1ec7n ph\u1ee5c v\u1ee5 Data Analysis<\/h5>\n\n\n\n<p>V\u1eady th\u01b0 vi\u1ec7n l\u1eadp tr\u00ecnh l\u00e0 g\u00ec? L\u00e0 n\u01a1i ch\u1ee9a \u0111\u1ef1ng c\u00e1c h\u00e0m s\u1eb5n c\u00f3 \u0111\u1ec3 ch\u00fang ta s\u1eed d\u1ee5ng trong qu\u00e1 tr\u00ecnh khai th\u00e1c d\u1eef li\u1ec7u. D\u01b0\u1edbi \u0111\u00e2y l\u00e0 m\u1ed9t s\u1ed1 th\u01b0 vi\u1ec7n ch\u00ednh s\u1eed d\u1ee5ng cho vi\u1ec7c ph\u00e2n t\u00edch d\u1eef li\u1ec7u trong \u0111\u00f3 m\u00ecnh s\u1eed d\u1ee5ng nhi\u1ec1u nh\u1ea5t l\u00e0 th\u01b0 vi\u1ec7n Pandas v\u00e0 matplotlib.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/github.com\/thangnch\/MiAI_DA_Start\/blob\/master\/Picture3.png?raw=true\" alt=\"python lib data analysis\"\/><\/figure>\n\n\n\n<p>N\u00f3i qua v\u1ec1 m\u1ed9t v\u00e0i th\u01b0 vi\u1ec7n:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Th\u01b0 vi\u1ec7n Pandas<\/strong>: Th\u01b0 vi\u1ec7n n\u00e0y s\u1eed d\u1ee5ng kh\u00e1i ni\u1ec7m DataFrame (df) \u0111\u1ec3 l\u01b0u tr\u1eef d\u1eef li\u1ec7u, c\u00f3 th\u1ec3 \u0111\u1ecdc\/ghi d\u1eef li\u1ec7u v\u1edbi nhi\u1ec1u \u0111\u1ecbnh d\u1ea1ng (nh\u01b0: csv, text, excel,\u2026), th\u00eam\/s\u1eeda\/x\u00f3a c\u00e1c tr\u01b0\u1eddng d\u1eef li\u1ec7u, c\u00f3 th\u1ec3 nh\u00f3m d\u1eef li\u1ec7u (group), xoay chi\u1ec1u d\u1eef li\u1ec7u (pivot), t\u00ednh to\u00e1n (sum, count,\u2026)\u2026 trong \u0111\u00f3 \u1ea5n t\u01b0\u1ee3ng nh\u1ea5t l\u00e0 t\u1ed1c \u0111\u1ed9 x\u1eed l\u00fd d\u1eef li\u1ec7u nhanh h\u01a1n nhi\u1ec1u so v\u1edbi vi\u1ec7c s\u1eed d\u1ee5ng c\u00e1c h\u00e0m c\u1ee7a excel.<\/li><li><strong>Th\u01b0 vi\u1ec7n Matplotlib<\/strong> th\u00ec sao? Th\u01b0 vi\u1ec7n n\u00e0y l\u1ea1i chuy\u00ean dung cho m\u1ee5c \u0111\u00edch bi\u1ec3u di\u1ec5n l\u00ean th\u00e0nh \u0111\u1ed3 th\u1ecb<\/li><\/ul>\n\n\n\n<p>Trong ph\u1ea1m vi b\u00e0i vi\u1ebft s\u01a1 l\u01b0\u1ee3c ban \u0111\u1ea7u n\u00e0y m\u00ecnh t\u1ea1m d\u1eebng t\u1ea1i m\u1ee9c m\u00f4 t\u1ea3 chung nh\u01b0 tr\u00ean. C\u00e1c b\u00e0i vi\u1ebft ti\u1ebfp theo ch\u00fang ta s\u1ebd c\u00f9ng khai th\u00e1c v\u00e0o c\u00e1c b\u00e0i to\u00e1n c\u1ee5 th\u1ec3 \u0111\u1ec3 xem vi\u1ec7c s\u1eed d\u1ee5ng c\u00e1c th\u01b0 vi\u1ec7n nh\u01b0 th\u1ebf n\u00e0o, \u00fd ngh\u0129a nhi\u1ec1u h\u01a1n c\u1ee7a c\u00e1c th\u01b0 vi\u1ec7n n\u00e0y.<\/p>\n\n\n\n<!-- InPost_Ad -->\n<ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-5095883280136027\" data-ad-slot=\"7735063137\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<p>V\u1eady th\u00ec l\u00e0m sao \u0111\u1ec3 c\u00e0i \u0111\u01b0\u1ee3c th\u01b0 vi\u1ec7n v\u00e0o \u1ee9ng d\u1ee5ng? Tr\u00ean c\u1eeda s\u1ed5 ch\u1ea1y \u1ee9ng d\u1ee5ng (\u1edf kh\u00fac m\u1ea7u xanh n\u01b0\u1edbc bi\u1ec3n ph\u00eda tr\u00ean, g\u00f5 l\u1ec7nh c\u00e0i \u0111\u1eb7t th\u01b0 vi\u1ec7n theo c\u00fa ph\u00e1p nh\u01b0 sau:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># N\u1ebfu c\u00e0i m\u1ed9t th\u01b0 vi\u1ec7n th\u00ec\npip install &lt;t\u00ean th\u01b0 vi\u1ec7n>\n# N\u1ebfu c\u00e0i nhi\u1ec1u th\u01b0 vi\u1ec7n th\u00ec c\u00e1ch nhau b\u1edfi d\u1ea5u c\u00e1ch\npip install &lt;t\u00ean th\u01b0 vi\u1ec7n 1> &lt;t\u00ean th\u01b0 vi\u1ec7n 2><\/code><\/pre>\n\n\n\n<p>V\u00ed d\u1ee5 d\u01b0\u1edbi \u0111\u00e2y l\u00e0 install 2 th\u01b0 vi\u1ec7n Pandas v\u00e0 Matplotlib:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pip install pandas matplotlib<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/github.com\/thangnch\/MiAI_DA_Start\/blob\/master\/Picture4.png?raw=true\" alt=\"\"\/><\/figure>\n\n\n\n<p>Sau khi g\u00f5 l\u1ec7nh tr\u00ean, h\u1ec7 th\u1ed1ng s\u1ebd c\u00e0i \u0111\u1eb7t th\u01b0 vi\u1ec7n v\u00e0 loading d\u1eef li\u1ec7u th\u01b0 vi\u1ec7n v\u1ec1, h\u00ecnh loading d\u1eef li\u1ec7u v\u00e0 c\u00e0i \u0111\u1eb7t nh\u01b0 sau:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/github.com\/thangnch\/MiAI_DA_Start\/blob\/master\/Picture5.png?raw=true\" alt=\"\"\/><\/figure>\n\n\n\n<p>R\u1ed3i xong con ong ! Th\u01b0 vi\u1ec7n c\u00e0i c\u1eafm c\u00e1c ki\u1ec3u con \u0111\u00e0 \u0111i\u1ec3u r\u1ed3i v\u00e0 b\u00e2y gi\u1edd th\u00ec c\u00f9ng vi\u1ebft code n\u00e0o \ud83d\ude00<\/p>\n\n\n\n<!-- InPost_Ad -->\n<ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-5095883280136027\" data-ad-slot=\"7735063137\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<h2 class=\"wp-block-heading\">Ph\u1ea7n 4 &#8211; Th\u1eed m\u1ed9t b\u00e0i Data Analysis v\u1edbi Python<\/h2>\n\n\n\n<p>Ph\u1ea7n l\u00fd thuy\u1ebft c\u1ee7a b\u00e0i h\u00f4m nay xin \u0111\u01b0\u1ee3c d\u1eebng \u1edf \u0111\u00e2y, ti\u1ebfp theo ch\u00fang ta chuy\u1ec3n qua c\u00f9ng th\u1ef1c h\u00e0nh m\u1ed9t b\u00e0i code nho nh\u1ecf cho \u0111\u1ee1 nh\u00e0m ch\u00e1n nh\u00e9!<br>B\u00e0i t\u1eadp nh\u01b0 sau:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u0110\u1ecdc 1 file d\u1eef li\u1ec7u d\u1ea1ng csv, \u0111\u01b0a d\u1eef li\u1ec7u v\u00e0o DataFrame trong th\u01b0 vi\u1ec7n Pandas.<\/li><li>Sau \u0111\u00f3 in file \u0111\u00e3 \u0111\u1ecdc \u0111\u01b0\u1ee3c ra m\u00e0n h\u00ecnh<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/github.com\/thangnch\/MiAI_DA_Start\/blob\/master\/Picture6.png?raw=true\" alt=\"python data science\"\/><\/figure>\n\n\n\n<p>B\u00e0i n\u00e0y kh\u00e1 \u0111\u01a1n gi\u1ea3n, ch\u1ec9 v\u1edbi m\u1ee5c \u0111\u00edch cho c\u00e1c b\u1ea1n hi\u1ec3u \u0111\u01b0\u1ee3c c\u00e1ch vi\u1ebft m\u1ed9t ch\u01b0\u01a1ng tr\u00ecnh python nh\u01b0 n\u00e0o th\u00f4i.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \u0110\u1ea7u ti\u00ean import th\u01b0 vi\u1ec7n pandas \u0111\u1ec3 \u0111\u1ecdc file csv\nimport pandas as pd\n# Ti\u1ebfp theo ta m\u1edf file testData.csv\ndf = pd.read_csv('testData.csv')\n# v\u00e0 in ra m\u00e0n h\u00ecnh 10 d\u00f2ng \u0111\u1ea7u ti\u00ean\nprint(df.head(10))\n# ho\u1eb7c in ra m\u00e0n h\u00ecnh to\u00e0n b\u1ed9 d\u1eef li\u1ec7u\nprint(df.head(10))<\/code><\/pre>\n\n\n\n<p>Sau \u0111\u00f3 save l\u1ea1i th\u00e0nh file test.py ch\u1eb3ng h\u1ea1n. B\u00e2y gi\u1edd c\u00e1c b\u1ea1n nh\u00ecn xu\u1ed1ng ph\u1ea7n Terminal b\u00ean d\u01b0\u1edbi c\u1eeda s\u1ed5 Pycharm, b\u1ea5m v\u00e0o v\u00e0 g\u00f5 l\u1ec7nh:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>python test.py<\/code><\/pre>\n\n\n\n<p>K\u1ebft qu\u1ea3 s\u1ebd \u0111\u01b0\u1ee3c in ra m\u00e0n h\u00ecnh:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/github.com\/thangnch\/MiAI_DA_Start\/blob\/master\/Screen%20Shot%202020-05-29%20at%2009.40.19.png?raw=true\" alt=\"python data\"\/><\/figure>\n\n\n\n<!-- InPost_Ad -->\n<ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-5095883280136027\" data-ad-slot=\"7735063137\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<p>C\u00e1c b\u1ea1n ch\u00fa \u00fd c\u1ea5u tr\u00fac th\u01b0 m\u1ee5c \u0111\u1ec3 chuy\u1ec3n \u0111\u1ebfn th\u01b0 m\u1ee5c t\u01b0\u01a1ng \u1ee9ng ch\u1ee9a file test.py cho chu\u1ea9n nh\u00e9 (chuy\u1ec3n qua l\u1ea1i gi\u1eefa c\u00e1c th\u01b0 m\u1ee5c d\u00f9ng l\u1ec7nh cd th\u1ea7n th\u00e1nh nh\u00e9)<\/p>\n\n\n\n<p>OK! B\u00e0i Data Analysis v\u1edbi Python n\u00e0y \u0111\u00e3 d\u00e0i, m\u00ecnh xin t\u1ea1m d\u1eebng t\u1ea1i \u0111\u00e2y. Trong b\u00e0i ti\u1ebfp theo ch\u00fang ta s\u1ebd c\u00f9ng t\u00ecm hi\u1ec3u nhi\u1ec1u b\u00e0i to\u00e1n kh\u00e1c nhau trong l\u0129nh v\u1ef1c Data Analysis nh\u00e9.<\/p>\n\n\n\n<p>Ps: M\u00ecnh c\u00f3 link s\u1eb5n 1 github b\u00e0i n\u00e0y \u0111\u1ec3 c\u00e1c b\u1ea1n th\u1eed nghi\u1ec7m, k\u00e8m theo data csv lu\u00f4n t\u1ea1i \u0111\u00e2y: <a href=\"https:\/\/github.com\/thangnch\/MiAI_DA_Start\">https:\/\/github.com\/thangnch\/MiAI_DA_Start<\/a><\/p>\n\n\n\n<p>H\u1eb9n g\u1eb7p l\u1ea1i c\u00e1c b\u1ea1n! Ch\u00e0o t\u1ea1m bi\u1ec7t v\u00e0 ch\u00fac c\u00e1c b\u1ea1n th\u00e0nh c\u00f4ng!<\/p>\n\n\n\n<p><strong><em>H\u00e3y join c\u00f9ng c\u1ed9ng \u0111\u1ed3ng M\u00ec AI nh\u00e9!<\/em><\/strong><\/p>\n\n\n\n<p>Fanpage:&nbsp;<a rel=\"noreferrer noopener\" href=\"http:\/\/facebook.com\/miaiblog\" target=\"_blank\">http:\/\/facebook.com\/miaiblog<\/a><br>Group trao \u0111\u1ed5i, chia s\u1ebb:&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.facebook.com\/groups\/miaigroup\" target=\"_blank\">https:\/\/www.facebook.com\/groups\/miaigroup<\/a><br>Website:&nbsp;<a href=\"https:\/\/miai.vn\/\">https:\/\/miai.vn\/<\/a><br>Youtube:&nbsp;<a rel=\"noreferrer noopener\" href=\"http:\/\/bit.ly\/miaiyoutube\" target=\"_blank\">http:\/\/bit.ly\/miaiyoutube<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Xin ch\u00e0o to\u00e0n th\u1ec3 anh em M\u00ec \u0103n li\u1ec1n AI, h\u00f4m nay ch\u00fang ta s\u1ebd c\u00f9ng nhau \u0111\u1ebfn v\u1edbi series m\u1edbi v\u1ec1 Data Analysis (DA) v\u1edbi Python. \u0110\u00e2y l\u00e0 m\u1ed9t series m\u1edbi ho\u00e0n to\u00e0n d\u00e0nh cho c\u00e1c b\u1ea1n \u0111ang h\u1ecdc v\u1ec1 DA do m\u1ed9t MOD n\u1eef c\u1ee7a M\u00ec Ai Blog ph\u1ee5 tr\u00e1ch, hi v\u1ecdng c\u00e1c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[285],"tags":[281,282,283,284,286,287,288,289,32,290],"class_list":["post-944","post","type-post","status-publish","format-standard","hentry","category-data-science-data-analysis","tag-csv-file","tag-da","tag-data-analysis","tag-data-science","tag-dataframe","tag-ds","tag-matplotlib","tag-pandas","tag-python","tag-visualize-data-python"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Nh\u1eadp m\u00f4n ph\u00e2n t\u00edch d\u1eef li\u1ec7u, Data Analysis v\u1edbi Python - M\u00ec AI<\/title>\n<meta name=\"description\" content=\"Xin ch\u00e0o to\u00e0n th\u1ec3 anh em M\u00ec \u0103n li\u1ec1n AI, h\u00f4m nay ch\u00fang ta s\u1ebd c\u00f9ng nhau \u0111\u1ebfn v\u1edbi series m\u1edbi v\u1ec1 ph\u00e2n t\u00edch d\u1eef li\u1ec7u (Data Analysis) v\u1edbi Python.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/miai.vn\/?p=944\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Nh\u1eadp m\u00f4n ph\u00e2n t\u00edch d\u1eef li\u1ec7u, Data Analysis v\u1edbi Python - M\u00ec AI\" \/>\n<meta property=\"og:description\" content=\"Xin ch\u00e0o to\u00e0n th\u1ec3 anh em M\u00ec \u0103n li\u1ec1n AI, h\u00f4m nay ch\u00fang ta s\u1ebd c\u00f9ng nhau \u0111\u1ebfn v\u1edbi series m\u1edbi v\u1ec1 ph\u00e2n t\u00edch d\u1eef li\u1ec7u (Data Analysis) v\u1edbi Python.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/miai.vn\/?p=944\" \/>\n<meta property=\"og:site_name\" content=\"M\u00ec AI\" \/>\n<meta property=\"article:published_time\" content=\"2020-05-28T19:48:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/img.atpsoftware.vn\/2020\/03\/c%C3%A1ch-ph%C3%A2n-t%C3%ADch-d%E1%BB%AF-li%E1%BB%87u.png\" \/>\n<meta name=\"author\" content=\"Ch\u1ee7 ti\u1ec7m M\u00ec\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ch\u1ee7 ti\u1ec7m M\u00ec\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"12 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=944#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=944\"},\"author\":{\"name\":\"Ch\u1ee7 ti\u1ec7m M\u00ec\",\"@id\":\"https:\\\/\\\/miai.vn\\\/#\\\/schema\\\/person\\\/cc8bc24bb90bd3f596add82f3a59948c\"},\"headline\":\"[DA-DS]Nh\u1eadp m\u00f4n Data Analysis v\u1edbi Python\",\"datePublished\":\"2020-05-28T19:48:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=944\"},\"wordCount\":2231,\"commentCount\":8,\"publisher\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=944#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/img.atpsoftware.vn\\\/2020\\\/03\\\/c%C3%A1ch-ph%C3%A2n-t%C3%ADch-d%E1%BB%AF-li%E1%BB%87u.png\",\"keywords\":[\"csv file\",\"da\",\"Data Analysis\",\"Data Science\",\"dataframe\",\"ds\",\"matplotlib\",\"pandas\",\"python\",\"visualize data python\"],\"articleSection\":[\"Data Science - Data Analysis\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/miai.vn\\\/?p=944#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=944\",\"url\":\"https:\\\/\\\/miai.vn\\\/?p=944\",\"name\":\"Nh\u1eadp m\u00f4n ph\u00e2n t\u00edch d\u1eef li\u1ec7u, Data Analysis v\u1edbi Python - M\u00ec AI\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=944#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=944#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/img.atpsoftware.vn\\\/2020\\\/03\\\/c%C3%A1ch-ph%C3%A2n-t%C3%ADch-d%E1%BB%AF-li%E1%BB%87u.png\",\"datePublished\":\"2020-05-28T19:48:27+00:00\",\"description\":\"Xin ch\u00e0o to\u00e0n th\u1ec3 anh em M\u00ec \u0103n li\u1ec1n AI, h\u00f4m nay ch\u00fang ta s\u1ebd c\u00f9ng nhau \u0111\u1ebfn v\u1edbi series m\u1edbi v\u1ec1 ph\u00e2n t\u00edch d\u1eef li\u1ec7u (Data Analysis) v\u1edbi Python.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=944#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/miai.vn\\\/?p=944\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=944#primaryimage\",\"url\":\"https:\\\/\\\/img.atpsoftware.vn\\\/2020\\\/03\\\/c%C3%A1ch-ph%C3%A2n-t%C3%ADch-d%E1%BB%AF-li%E1%BB%87u.png\",\"contentUrl\":\"https:\\\/\\\/img.atpsoftware.vn\\\/2020\\\/03\\\/c%C3%A1ch-ph%C3%A2n-t%C3%ADch-d%E1%BB%AF-li%E1%BB%87u.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=944#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/miai.vn\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[DA-DS]Nh\u1eadp m\u00f4n Data Analysis v\u1edbi Python\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/miai.vn\\\/#website\",\"url\":\"https:\\\/\\\/miai.vn\\\/\",\"name\":\"M\u00ec AI\",\"description\":\"H\u1ecdc AI theo c\u00e1ch M\u00ec \u0103n li\u1ec1n!\",\"publisher\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/miai.vn\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/miai.vn\\\/#organization\",\"name\":\"M\u00ec AI\",\"url\":\"https:\\\/\\\/miai.vn\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/miai.vn\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/miai.vn\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/cropped-Logo_w_slogan.png\",\"contentUrl\":\"https:\\\/\\\/miai.vn\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/cropped-Logo_w_slogan.png\",\"width\":240,\"height\":193,\"caption\":\"M\u00ec AI\"},\"image\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/miai.vn\\\/#\\\/schema\\\/person\\\/cc8bc24bb90bd3f596add82f3a59948c\",\"name\":\"Ch\u1ee7 ti\u1ec7m M\u00ec\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b0b5124b0d2c0a8054d7127d2c236bdc3dc7a50e2d4e8728ab32eee5b122a8d1?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b0b5124b0d2c0a8054d7127d2c236bdc3dc7a50e2d4e8728ab32eee5b122a8d1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b0b5124b0d2c0a8054d7127d2c236bdc3dc7a50e2d4e8728ab32eee5b122a8d1?s=96&d=mm&r=g\",\"caption\":\"Ch\u1ee7 ti\u1ec7m M\u00ec\"},\"sameAs\":[\"https:\\\/\\\/miai.vn\"],\"url\":\"https:\\\/\\\/miai.vn\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Nh\u1eadp m\u00f4n ph\u00e2n t\u00edch d\u1eef li\u1ec7u, Data Analysis v\u1edbi Python - M\u00ec AI","description":"Xin ch\u00e0o to\u00e0n th\u1ec3 anh em M\u00ec \u0103n li\u1ec1n AI, h\u00f4m nay ch\u00fang ta s\u1ebd c\u00f9ng nhau \u0111\u1ebfn v\u1edbi series m\u1edbi v\u1ec1 ph\u00e2n t\u00edch d\u1eef li\u1ec7u (Data Analysis) v\u1edbi Python.","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:\/\/miai.vn\/?p=944","og_locale":"en_US","og_type":"article","og_title":"Nh\u1eadp m\u00f4n ph\u00e2n t\u00edch d\u1eef li\u1ec7u, Data Analysis v\u1edbi Python - M\u00ec AI","og_description":"Xin ch\u00e0o to\u00e0n th\u1ec3 anh em M\u00ec \u0103n li\u1ec1n AI, h\u00f4m nay ch\u00fang ta s\u1ebd c\u00f9ng nhau \u0111\u1ebfn v\u1edbi series m\u1edbi v\u1ec1 ph\u00e2n t\u00edch d\u1eef li\u1ec7u (Data Analysis) v\u1edbi Python.","og_url":"https:\/\/miai.vn\/?p=944","og_site_name":"M\u00ec AI","article_published_time":"2020-05-28T19:48:27+00:00","og_image":[{"url":"https:\/\/img.atpsoftware.vn\/2020\/03\/c%C3%A1ch-ph%C3%A2n-t%C3%ADch-d%E1%BB%AF-li%E1%BB%87u.png","type":"","width":"","height":""}],"author":"Ch\u1ee7 ti\u1ec7m M\u00ec","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Ch\u1ee7 ti\u1ec7m M\u00ec","Est. reading time":"12 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/miai.vn\/?p=944#article","isPartOf":{"@id":"https:\/\/miai.vn\/?p=944"},"author":{"name":"Ch\u1ee7 ti\u1ec7m M\u00ec","@id":"https:\/\/miai.vn\/#\/schema\/person\/cc8bc24bb90bd3f596add82f3a59948c"},"headline":"[DA-DS]Nh\u1eadp m\u00f4n Data Analysis v\u1edbi Python","datePublished":"2020-05-28T19:48:27+00:00","mainEntityOfPage":{"@id":"https:\/\/miai.vn\/?p=944"},"wordCount":2231,"commentCount":8,"publisher":{"@id":"https:\/\/miai.vn\/#organization"},"image":{"@id":"https:\/\/miai.vn\/?p=944#primaryimage"},"thumbnailUrl":"https:\/\/img.atpsoftware.vn\/2020\/03\/c%C3%A1ch-ph%C3%A2n-t%C3%ADch-d%E1%BB%AF-li%E1%BB%87u.png","keywords":["csv file","da","Data Analysis","Data Science","dataframe","ds","matplotlib","pandas","python","visualize data python"],"articleSection":["Data Science - Data Analysis"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/miai.vn\/?p=944#respond"]}]},{"@type":"WebPage","@id":"https:\/\/miai.vn\/?p=944","url":"https:\/\/miai.vn\/?p=944","name":"Nh\u1eadp m\u00f4n ph\u00e2n t\u00edch d\u1eef li\u1ec7u, Data Analysis v\u1edbi Python - M\u00ec AI","isPartOf":{"@id":"https:\/\/miai.vn\/#website"},"primaryImageOfPage":{"@id":"https:\/\/miai.vn\/?p=944#primaryimage"},"image":{"@id":"https:\/\/miai.vn\/?p=944#primaryimage"},"thumbnailUrl":"https:\/\/img.atpsoftware.vn\/2020\/03\/c%C3%A1ch-ph%C3%A2n-t%C3%ADch-d%E1%BB%AF-li%E1%BB%87u.png","datePublished":"2020-05-28T19:48:27+00:00","description":"Xin ch\u00e0o to\u00e0n th\u1ec3 anh em M\u00ec \u0103n li\u1ec1n AI, h\u00f4m nay ch\u00fang ta s\u1ebd c\u00f9ng nhau \u0111\u1ebfn v\u1edbi series m\u1edbi v\u1ec1 ph\u00e2n t\u00edch d\u1eef li\u1ec7u (Data Analysis) v\u1edbi Python.","breadcrumb":{"@id":"https:\/\/miai.vn\/?p=944#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/miai.vn\/?p=944"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/miai.vn\/?p=944#primaryimage","url":"https:\/\/img.atpsoftware.vn\/2020\/03\/c%C3%A1ch-ph%C3%A2n-t%C3%ADch-d%E1%BB%AF-li%E1%BB%87u.png","contentUrl":"https:\/\/img.atpsoftware.vn\/2020\/03\/c%C3%A1ch-ph%C3%A2n-t%C3%ADch-d%E1%BB%AF-li%E1%BB%87u.png"},{"@type":"BreadcrumbList","@id":"https:\/\/miai.vn\/?p=944#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/miai.vn\/"},{"@type":"ListItem","position":2,"name":"[DA-DS]Nh\u1eadp m\u00f4n Data Analysis v\u1edbi Python"}]},{"@type":"WebSite","@id":"https:\/\/miai.vn\/#website","url":"https:\/\/miai.vn\/","name":"M\u00ec AI","description":"H\u1ecdc AI theo c\u00e1ch M\u00ec \u0103n li\u1ec1n!","publisher":{"@id":"https:\/\/miai.vn\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/miai.vn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/miai.vn\/#organization","name":"M\u00ec AI","url":"https:\/\/miai.vn\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/miai.vn\/#\/schema\/logo\/image\/","url":"https:\/\/miai.vn\/wp-content\/uploads\/2026\/05\/cropped-Logo_w_slogan.png","contentUrl":"https:\/\/miai.vn\/wp-content\/uploads\/2026\/05\/cropped-Logo_w_slogan.png","width":240,"height":193,"caption":"M\u00ec AI"},"image":{"@id":"https:\/\/miai.vn\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/miai.vn\/#\/schema\/person\/cc8bc24bb90bd3f596add82f3a59948c","name":"Ch\u1ee7 ti\u1ec7m M\u00ec","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b0b5124b0d2c0a8054d7127d2c236bdc3dc7a50e2d4e8728ab32eee5b122a8d1?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b0b5124b0d2c0a8054d7127d2c236bdc3dc7a50e2d4e8728ab32eee5b122a8d1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b0b5124b0d2c0a8054d7127d2c236bdc3dc7a50e2d4e8728ab32eee5b122a8d1?s=96&d=mm&r=g","caption":"Ch\u1ee7 ti\u1ec7m M\u00ec"},"sameAs":["https:\/\/miai.vn"],"url":"https:\/\/miai.vn\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/miai.vn\/index.php?rest_route=\/wp\/v2\/posts\/944","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/miai.vn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/miai.vn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/miai.vn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/miai.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=944"}],"version-history":[{"count":0,"href":"https:\/\/miai.vn\/index.php?rest_route=\/wp\/v2\/posts\/944\/revisions"}],"wp:attachment":[{"href":"https:\/\/miai.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=944"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/miai.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=944"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/miai.vn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=944"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}