{"id":33862,"date":"2021-05-18T10:46:47","date_gmt":"2021-05-18T08:46:47","guid":{"rendered":"https:\/\/eiposgrados.com\/?p=33862"},"modified":"2021-05-18T11:07:39","modified_gmt":"2021-05-18T09:07:39","slug":"pandas-library-in-python","status":"publish","type":"post","link":"https:\/\/eiposgrados.com\/eng\/python-blog\/pandas-library-in-python\/","title":{"rendered":"What is pandas and what is it used for in Python?"},"content":{"rendered":"<p>When we talk about pandas we are not referring to a group of black and white bears devouring bamboo, we are talking about the<strong> Pandas bookstore<\/strong> in Python, specialized in data structure management and analysis, open source and dependent on the Numpy library. <\/p>\n\n\n\n<p>With pandas we can represent <strong>tabular data<\/strong> with labeled columns and rows and time series.<\/p>\n\n\n\n<p>To train yourself and understand these concepts in depth, you can do so with our <a class=\"rank-math-link\" href=\"https:\/\/eiposgrados.com\/eng\/master-in-python\/\">master in Advanced Programming in Python for Big Data, Hacking and Machine Learning.<\/a> Furthermore, as it is a dual master&#039;s degree, you will be able to integrate the learning process with internships in companies.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Pandas Library Tools<\/h2>\n\n\n\n<p>Provides <strong>tools<\/strong> that allow us to read and write data in various formats such as CSV, Microsoft Excel, SQL databases and HDF5 format. <\/p>\n\n\n\n<p>They also allow us <strong>select and filter data tables<\/strong>,<strong> merge and join data, transform it<\/strong> applying both global and windowed functions,<em> <\/em><strong>manipulate time series and even make graphs.<\/strong><\/p>\n\n\n\n<p>Pandas has<strong> three structures <\/strong>of different data:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>series<\/strong>, are one-dimensional structures<\/li><li><strong>DataFrame<\/strong>, two-dimensional structures (tables)<\/li><li><strong>Panel<\/strong>, three-dimensional structures (cubes)<\/li><\/ul>\n\n\n\n<p>Let&#039;s see an example of the first two in a quick and easy way.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>series<\/strong><\/h3>\n\n\n\n<p>Are <strong>one dimensional structures<\/strong>, similar to arrays, has an index that associates a name with each element of the series to access it.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"108\" src=\"https:\/\/eiposgrados.com\/wp-content\/uploads\/2021\/05\/Captura-de-pantalla-2021-05-18-a-las-10.26.38-1024x108.png\" alt=\"pandas library in python\" class=\"wp-image-33864\" title=\"\" srcset=\"https:\/\/eiposgrados.com\/wp-content\/uploads\/2021\/05\/Captura-de-pantalla-2021-05-18-a-las-10.26.38-1024x108.png 1024w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2021\/05\/Captura-de-pantalla-2021-05-18-a-las-10.26.38-300x32.png 300w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2021\/05\/Captura-de-pantalla-2021-05-18-a-las-10.26.38-768x81.png 768w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2021\/05\/Captura-de-pantalla-2021-05-18-a-las-10.26.38.png 1398w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>DataFrame<\/strong><\/h3>\n\n\n\n<p>Are<strong> structured data sets <\/strong>in the form of a table where each column is an object of type Series, all the data in the same column is of the same type and the rows can contain different types.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"165\" src=\"https:\/\/eiposgrados.com\/wp-content\/uploads\/2021\/05\/Captura-de-pantalla-2021-05-18-a-las-10.27.31-1024x165.png\" alt=\"\" class=\"wp-image-33865\" title=\"\" srcset=\"https:\/\/eiposgrados.com\/wp-content\/uploads\/2021\/05\/Captura-de-pantalla-2021-05-18-a-las-10.27.31-1024x165.png 1024w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2021\/05\/Captura-de-pantalla-2021-05-18-a-las-10.27.31-300x48.png 300w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2021\/05\/Captura-de-pantalla-2021-05-18-a-las-10.27.31-768x124.png 768w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2021\/05\/Captura-de-pantalla-2021-05-18-a-las-10.27.31.png 1404w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>","protected":false},"excerpt":{"rendered":"<p>Do you know the Pandas library in Python? From EIP we tell you what it is and what it is for so that you can learn more about it. Check it out!<\/p>","protected":false},"author":51,"featured_media":33867,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[407],"tags":[],"class_list":["post-33862","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog-python"],"acf":[],"_links":{"self":[{"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/posts\/33862","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/users\/51"}],"replies":[{"embeddable":true,"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/comments?post=33862"}],"version-history":[{"count":0,"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/posts\/33862\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/media\/33867"}],"wp:attachment":[{"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/media?parent=33862"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/categories?post=33862"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/tags?post=33862"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}