{"id":6467,"date":"2024-03-01T07:11:19","date_gmt":"2024-03-01T07:11:19","guid":{"rendered":"https:\/\/www.pickl.ai\/blog\/?post_type=web-story&#038;p=6467"},"modified":"2024-03-01T07:11:19","modified_gmt":"2024-03-01T07:11:19","slug":"tabulating-data-in-python-a-beginners-guide","status":"publish","type":"web-story","link":"https:\/\/www.pickl.ai\/blog\/web-stories\/tabulating-data-in-python-a-beginners-guide\/","title":{"rendered":"Tabulating Data in Python: A Beginner&#8217;s Guide"},"content":{"rendered":"<p><html amp=\"\" lang=\"en\"><head><meta charSet=\"utf-8\"\/><meta name=\"viewport\" content=\"width=device-width,minimum-scale=1,initial-scale=1\"\/><script async=\"\" src=\"https:\/\/cdn.ampproject.org\/v0.js\"><\/script><script async=\"\" src=\"https:\/\/cdn.ampproject.org\/v0\/amp-story-1.0.js\" custom-element=\"amp-story\"><\/script><link href=\"https:\/\/fonts.googleapis.com\/css2?display=swap&amp;family=Roboto%3Awght%40700&amp;family=Alegreya%3Awght%40400%3B700\" rel=\"stylesheet\"\/>\n<style amp-boilerplate=\"\">body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}<\/style>\n<p><noscript><\/p>\n<style amp-boilerplate=\"\">body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}<\/style>\n<p><\/noscript><\/p>\n<style amp-custom=\"\">\n              h1, h2, h3 { font-weight: normal; }<\/p>\n<p>              amp-story-page {\n                background-color: #131516;\n              }<\/p>\n<p>              amp-story-grid-layer {\n                overflow: visible;\n              }<\/p>\n<p>              @media (max-aspect-ratio: 9 \/ 16)  {\n                @media (min-aspect-ratio: 320 \/ 678) {\n                  amp-story-grid-layer.grid-layer {\n                    margin-top: calc((100% \/ 0.5625 - 100% \/ 0.6666666666666666) \/ 2);\n                  }\n                }\n              }<\/p>\n<p>              @media not all and (min-resolution:.001dpcm) {\n                @media {\n                  p.text-wrapper > span {\n                    font-size: calc(100% - 0.5px);\n                  }\n                }\n              }<\/p>\n<p>              .page-fullbleed-area,\n              .page-background-overlay-area {\n                position: absolute;\n                overflow: hidden;\n                width: 100%;\n                left: 0;\n                height: calc(1.1851851851851851 * 100%);\n                top: calc((1 - 1.1851851851851851) * 100% \/ 2);\n              }<\/p>\n<p>              .element-overlay-area {\n                position: absolute;\n                width: 100%;\n                height: 100%;\n                top: 0;\n                left: 0;\n              }<\/p>\n<p>              .page-safe-area {\n                overflow: visible;\n                position: absolute;\n                top: 0;\n                bottom: 0;\n                left: 0;\n                right: 0;\n                width: 100%;\n                height: calc(0.84375 * 100%);\n                margin: auto 0;\n              }<\/p>\n<p>              .mask {\n                position: absolute;\n                overflow: hidden;\n              }<\/p>\n<p>              .fill {\n                position: absolute;\n                top: 0;\n                left: 0;\n                right: 0;\n                bottom: 0;\n                margin: 0;\n              }<\/p>\n<p>              @media (prefers-reduced-motion: no-preference) {\n                .animation-wrapper {\n                  opacity: var(--initial-opacity);\n                  transform: var(--initial-transform);\n                }\n              }<\/p>\n<p>              amp-story-grid-layer.align-bottom {\n                align-content: end;\n                padding: 0;\n                \/* \n                  AMP CTA Layer will exactly occupy 74px regardless of any device.\n                  To space out captions 74px from the BOTTOM (AMP CTA Layer),\n                  74px from the TOP should also be spaced out and thus: 2 * 74px\n                  will be the desired max-height.\n                *\/\n                max-height: calc(100vh - (2 * 74px));\n              }<\/p>\n<p>              .captions-area {\n                padding: 0 32px 0;\n              }<\/p>\n<p>              amp-story-captions {\n                margin-bottom: 16px;\n                text-align: center;\n              }\n              <\/style>\n<p><meta name=\"web-stories-replace-head-start\"\/><title>Tabulating Data in Python: A Beginner&#x27;s Guide<br \/>\n<\/title><link rel=\"canonical\" href=\"https:\/\/pickl.ai\/blog\/?post_type=web-story&amp;p=6467\"\/><meta name=\"web-stories-replace-head-end\"\/><\/head><body><amp-story standalone=\"\" publisher=\"Pickl.AI\" publisher-logo-src=\"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2022\/01\/cropped-cropped-favicon.png\" title=\"Tabulating Data in Python: A Beginner&#x27;s Guide\n\" poster-portrait-src=\"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/cropped-business-team-financial-data-analysis-meeting-report-paper-harmony-office.jpg\"><amp-story-page id=\"bcc15a58-4c8c-48a6-b207-fb41fdb8ed61\" auto-advance-after=\"7s\"><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#6d9fff\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-731ee652-64a9-48f4-8cad-4c8141246f64\">\n<div class=\"fill\" style=\"will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:12.37864%;top:52.91262%;width:77.6699%;height:42.55663%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-37f80257-766d-4dca-bd45-1da1ecaa7370\">\n<div class=\"fill\" style=\"background-color:rgba(255,255,255,0.3);will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:13.34951%;top:5.33981%;width:77.18447%;height:40.7767%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-e04e0b5a-1132-4e0b-a75d-888915532341\">\n<div style=\"position:absolute;width:106.67634%;height:100%;left:-3.33817%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/business-team-financial-data-analysis-meeting-report-paper-harmony-office.jpg\" alt=\"Data Blending in Tableau\" srcSet=\"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/business-team-financial-data-analysis-meeting-report-paper-harmony-office.jpg 1400w,https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/business-team-financial-data-analysis-meeting-report-paper-harmony-office-1024x761.jpg 1024w,https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/business-team-financial-data-analysis-meeting-report-paper-harmony-office-768x571.jpg 768w,https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/business-team-financial-data-analysis-meeting-report-paper-harmony-office-300x223.jpg 300w,https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/business-team-financial-data-analysis-meeting-report-paper-harmony-office-150x111.jpg 150w\" sizes=\"(min-width: 1024px) 35vh, 77vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:13.59223%;top:59.54693%;width:72.3301%;height:32.36246%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.6711409395973155% 0.6711409395973155% 0.6711409395973155% 0.6711409395973155% \/ 1% 1% 1% 1%\" id=\"el-4789b738-992d-4cec-b40c-176699d0bbd5\">\n<h1 id=\"tabulating-data-in-python-a-beginners-guide\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.12772651006711358% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.679612em;line-height:1.19;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Tabulating Data in Python: A Beginner&#8217;s Guide<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><\/amp-story-page><amp-story-page id=\"1fbecc1a-6742-4c34-adc1-399dcff16d1e\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-c79cec3f-d862-44df-955e-5269f070a652\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-5b63ea47-ca1c-445c-8603-8ae588eda91b\",\"keyframes\":{\"transform\":[\"translate3d(-118.15181%, 0px, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.2, 0.6, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#b6b6b6\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-100ee99e-7ee4-4848-8626-c018e00acee4\">\n<div class=\"fill\" style=\"will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:24.02913%;top:38.34951%;width:62.62136%;height:14.07767%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.7751937984496124% 0.7751937984496124% 0.7751937984496124% 0.7751937984496124% \/ 2.2988505747126435% 2.2988505747126435% 2.2988505747126435% 2.2988505747126435%\" id=\"el-025ec649-a185-4e75-821d-399a6fa4cb0f\">\n<h1 id=\"using-pandas-dataframes\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.12996608527131803% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.598706em;line-height:1.19;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #ea7d00\">Using Pandas DataFrames<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:13.34951%;top:2.75081%;width:73.54369%;height:31.06796%;opacity:1\">\n<div id=\"anim-c79cec3f-d862-44df-955e-5269f070a652\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-5b63ea47-ca1c-445c-8603-8ae588eda91b\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(-118.15181%, 0px, 0)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-0a368049-847e-49c4-8cb2-688ec5a92d94\">\n<div style=\"position:absolute;width:103.19199%;height:100%;left:-1.596%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/database-computer-system-digital-storage-concept-1-scaled.jpg\" alt=\"\" srcSet=\"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/database-computer-system-digital-storage-concept-1-scaled.jpg 2560w,https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/database-computer-system-digital-storage-concept-1-2048x1257.jpg 2048w,https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/database-computer-system-digital-storage-concept-1-1536x943.jpg 1536w,https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/database-computer-system-digital-storage-concept-1-1024x629.jpg 1024w,https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/database-computer-system-digital-storage-concept-1-768x472.jpg 768w,https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/database-computer-system-digital-storage-concept-1-300x184.jpg 300w\" sizes=\"(min-width: 1024px) 33vh, 74vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:15.7767%;top:56.95793%;width:70.87379%;height:33.49515%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.684931506849315% 0.684931506849315% 0.684931506849315% 0.684931506849315% \/ 0.966183574879227% 0.966183574879227% 0.966183574879227% 0.966183574879227%\" id=\"el-aeb419a1-ad8d-4e9c-8c68-6edd76d63145\">\n<h3 id=\"%c2%b7-pandas-a-powerful-library-for-data-manipulation-and-analysis-offers-the-dataframe-structure-for-tabulating-data-%c2%b7-import-pandas-and-create-a-dataframe-to-organize-your-data\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:0.5789383561643836% 0;font-family:&quot;Alegreya&quot;,serif;font-size:0.339806em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700\">\u00b7 &nbsp;Pandas, a powerful library for data manipulation and analysis, offers the DataFrame structure for tabulating data.<\/span><br \/>\n<span style=\"font-weight: 700\">\u00b7 &nbsp;Import pandas and create a DataFrame to organize your data into rows and columns effortlessly.<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:34.2233%;top:94.01294%;width:42.47573%;height:5.01618%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:1.1428571428571428% 1.1428571428571428% 1.1428571428571428% 1.1428571428571428% \/ 6.451612903225806% 6.451612903225806% 6.451612903225806% 6.451612903225806%\" id=\"el-051af514-126d-4b75-a021-4531e7b25915\"><a href=\"https:\/\/pickl.ai\/blog\/how-to-tabulate-data-in-python\/\" data-tooltip-icon=\"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2023\/08\/How-to-Tabulate-Data-in-Python.jpg\" data-tooltip-text=\"How to Tabulate Data in Python?- Pickl.AI\" target=\"_blank\" rel=\"noreferrer noopener\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\"><\/p>\n<h2 id=\"learn-more\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.2169642857142853% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.436893em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #ea7d00\">Learn More&nbsp;<\/span><\/span><\/h2>\n<p><\/a><\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><\/amp-story-page><amp-story-page id=\"cc53fff1-116b-4fe9-9e97-35ae27a4a031\" auto-advance-after=\"7s\"><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#6d9fff\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-dd145509-cac4-4cfb-b067-eb6620085703\">\n<div class=\"fill\" style=\"will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:14.80583%;top:12.78317%;width:73.54369%;height:16.66667%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.6600660066006601% 0.6600660066006601% 0.6600660066006601% 0.6600660066006601% \/ 1.9417475728155338% 1.9417475728155338% 1.9417475728155338% 1.9417475728155338%\" id=\"el-4245b956-d8a6-43fa-9cf7-187f7ffa292d\">\n<h1 id=\"example-code-snippet\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.12860973597359646% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.695793em;line-height:1.19;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Example Code Snippet<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:17.47573%;top:35.27508%;width:70.87379%;height:45.46926%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.684931506849315% 0.684931506849315% 0.684931506849315% 0.684931506849315% \/ 0.7117437722419928% 0.7117437722419928% 0.7117437722419928% 0.7117437722419928%\" id=\"el-106773ad-d02b-4386-b2ac-3a5e3bf9bd79\">\n<h3 id=\"import-pandas-as-pd-sample-dataimport-pandas-as-pddata-name-alice-bob-charlieage-25-30-35city\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:0.5789383561643836% 0;font-family:&quot;Alegreya&quot;,serif;font-size:0.339806em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #ffd900\">import pandas as pd<\/span><br \/>\n<span style=\"color: #ffd900\"># Sample data<\/span><br \/>\n<span style=\"color: #ffd900\">import pandas as pd<\/span><br \/>\n<span style=\"color: #ffd900\">data = {&#8216;Name&#8217;: [&#8216;Alice&#8217;, &#8216;Bob&#8217;, &#8216;Charlie&#8217;],<\/span><br \/>\n<span style=\"color: #ffd900\">&#8216;Age&#8217;: [25, 30, 35],<\/span><br \/>\n<span style=\"color: #ffd900\">&#8216;City&#8217;: [&#8216;New York&#8217;, &#8216;Los Angeles&#8217;, &#8216;Chicago&#8217;]}<\/span><br \/>\n<span style=\"color: #ffd900\"># Creating a DataFrame<\/span><br \/>\n<span style=\"color: #ffd900\">df = pd.DataFrame(data)<\/span><br \/>\n<span style=\"color: #ffd900\">print(df)<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><\/amp-story-page><amp-story-page id=\"77d11cab-4e30-4e70-859e-3b3d22971ab9\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-88748c77-9e27-4e48-a211-ac6a75fba30c\",\"keyframes\":{\"transform\":[\"translate3d(115.62501%, 0px, 0)\",\"translate3d(0px, 0px, 0)\"]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.4, 0.4, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-f881a91a-6935-488c-adf0-af3f95ed6b00\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.4, 0.4, 0.0, 1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-90dc6745-72b8-4906-bcc1-3e193715430f\",\"keyframes\":{\"transform\":[\"scale(0.15)\",\"scale(1)\"]},\"delay\":0,\"duration\":600,\"easing\":\"cubic-bezier(0.4, 0.4, 0.0, 1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#b6b6b6\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-701b64a4-c17b-4e97-a222-6e5ed855618f\">\n<div class=\"fill\" style=\"will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:18.68932%;top:44.66019%;width:62.62136%;height:14.23948%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.7751937984496124% 0.7751937984496124% 0.7751937984496124% 0.7751937984496124% \/ 2.272727272727273% 2.272727272727273% 2.272727272727273% 2.272727272727273%\" id=\"el-91702316-1a44-4a3f-8df9-f0fc7b1034f0\">\n<h1 id=\"tabulating-with-prettytable\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.12996608527131803% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.598706em;line-height:1.19;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Tabulating with PrettyTable<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:20.14563%;top:62.78317%;width:67.96117%;height:25.08091%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.7142857142857143% 0.7142857142857143% 0.7142857142857143% 0.7142857142857143% \/ 1.2903225806451613% 1.2903225806451613% 1.2903225806451613% 1.2903225806451613%\" id=\"el-fffc14c4-ca7c-446a-968b-4738db9e65b8\">\n<h3 id=\"it-allows-you-to-create-stylish-and-readable-tables-from-your-data-install-prettytable-and-use-its-functions-to-display-tabulated-data-with-ease\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:0.60375% 0;font-family:&quot;Alegreya&quot;,serif;font-size:0.339806em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700\">It allows you to create stylish and readable tables from your data.<\/span><br \/>\n<span style=\"font-weight: 700\">Install PrettyTable and use its functions to display tabulated data with ease.<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:32.76699%;top:91.74757%;width:42.47573%;height:5.01618%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:1.1428571428571428% 1.1428571428571428% 1.1428571428571428% 1.1428571428571428% \/ 6.451612903225806% 6.451612903225806% 6.451612903225806% 6.451612903225806%\" id=\"el-c061d31c-09a6-454b-868a-79ddd75f5e3f\"><a href=\"https:\/\/pickl.ai\/blog\/importance-of-tableau-for-data-science\/\" data-tooltip-icon=\"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2023\/06\/How-Data-Scientists-use-Tableau.jpg\" data-tooltip-text=\"Importance of Tableau for Data Science- Pickl.AI\" target=\"_blank\" rel=\"noreferrer noopener\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\"><\/p>\n<h2 id=\"learn-more-2\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.2169642857142853% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.436893em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Learn More&nbsp;<\/span><\/span><\/h2>\n<p><\/a><\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:10.19417%;top:-0.48544%;width:77.6699%;height:41.26214%;opacity:1\">\n<div id=\"anim-88748c77-9e27-4e48-a211-ac6a75fba30c\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:translate3d(115.62501%, 0px, 0)\">\n<div id=\"anim-f881a91a-6935-488c-adf0-af3f95ed6b00\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-90dc6745-72b8-4906-bcc1-3e193715430f\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:scale(0.15)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-e535bc6d-b8d7-4bf2-b0dd-aff8be61c616\">\n<div style=\"position:absolute;width:102.00001%;height:100%;left:-1.00001%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/5702438_59273-scaled.jpg\" alt=\"5702438_59273\" srcSet=\"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/5702438_59273-scaled.jpg 2560w,https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/5702438_59273-2048x1600.jpg 2048w,https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/5702438_59273-1536x1200.jpg 1536w,https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/5702438_59273-1024x800.jpg 1024w,https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/5702438_59273-768x600.jpg 768w,https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/5702438_59273-300x234.jpg 300w,https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/5702438_59273-150x117.jpg 150w\" sizes=\"(min-width: 1024px) 35vh, 78vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><\/amp-story-page><amp-story-page id=\"c03664ef-7765-4746-8dbc-508a80de4e3f\" auto-advance-after=\"7s\"><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#6d9fff\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-e079f07b-e206-4853-9e98-c8b5af1a5922\">\n<div class=\"fill\" style=\"will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:18.68932%;top:7.9288%;width:62.62136%;height:14.23948%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.7751937984496124% 0.7751937984496124% 0.7751937984496124% 0.7751937984496124% \/ 2.272727272727273% 2.272727272727273% 2.272727272727273% 2.272727272727273%\" id=\"el-f82d55b8-0eaf-4db1-85f1-4bc6209e752e\">\n<h1 id=\"example-code-snippet-2\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.12996608527131803% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.598706em;line-height:1.19;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #fff\">Example Code Snippet<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:17.47573%;top:29.93528%;width:67.96117%;height:61.65049%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.7142857142857143% 0.7142857142857143% 0.7142857142857143% 0.7142857142857143% \/ 0.5249343832020997% 0.5249343832020997% 0.5249343832020997% 0.5249343832020997%\" id=\"el-b0af8605-3c51-4913-b7b3-fe3fc8ec5f70\">\n<h3 id=\"pip-install-prettytablefrom-prettytable-import-prettytable-sample-datadata-alice-25-new-yorkbob-30-los-angelescharlie\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:0.60375% 0;font-family:&quot;Alegreya&quot;,serif;font-size:0.339806em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span><span style=\"color: #ffd900\">Pip install prettytable<\/span><br \/>\n<span style=\"color: #ffd900\">from prettytable import PrettyTable<\/span><br \/>\n<span style=\"color: #ffd900\"># Sample data<\/span><br \/>\n<span style=\"color: #ffd900\">data = [[&#8216;Alice&#8217;, 25, &#8216;New York&#8217;],<\/span><br \/>\n<span style=\"color: #ffd900\">[&#8216;Bob&#8217;, 30, &#8216;Los Angeles&#8217;],<\/span><br \/>\n<span style=\"color: #ffd900\">[&#8216;Charlie&#8217;, 35, &#8216;Chicago&#8217;]]<\/span><br \/>\n<span style=\"color: #ffd900\"># Creating a PrettyTable object<\/span><br \/>\n<span style=\"color: #ffd900\">table = PrettyTable([&#8216;Name&#8217;, &#8216;Age&#8217;, &#8216;City&#8217;])<\/span><br \/>\n<span style=\"color: #ffd900\"># Adding data to the table<\/span><br \/>\n<span style=\"color: #ffd900\">for row in data:<\/span><br \/>\n<span style=\"color: #ffd900\">table.add_row(row)<\/span><br \/>\n<span style=\"color: #ffd900\"># Printing the table<\/span><br \/>\n<span style=\"color: #ffd900\">print(table)<\/span><\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><\/amp-story-page><\/amp-story><\/body><\/html><\/p>\n","protected":false},"excerpt":{"rendered":"Learn how to tabulate data in Python from this blog. You will learn how to tabulate data in Python using a structured manner.\n","protected":false},"author":1,"featured_media":6483,"template":"","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"web_stories_publisher_logo":935,"web_stories_poster":[],"web_stories_products":[],"footnotes":""},"web_story_category":[],"web_story_tag":[],"class_list":["post-6467","web-story","type-web-story","status-publish","has-post-thumbnail"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Tabulating Data in Python: A Beginner&#039;s Guide - Pickl.AI<\/title>\n<meta name=\"description\" content=\"Learn how to tabulate data in Python from this blog. You will learn how to tabulate data in Python using a structured manner.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.pickl.ai\/blog\/web-stories\/tabulating-data-in-python-a-beginners-guide\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Tabulating Data in Python: A Beginner&#039;s Guide\" \/>\n<meta property=\"og:description\" content=\"Learn how to tabulate data in Python from this blog. You will learn how to tabulate data in Python using a structured manner.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pickl.ai\/blog\/web-stories\/tabulating-data-in-python-a-beginners-guide\/\" \/>\n<meta property=\"og:site_name\" content=\"Pickl.AI\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/cropped-business-team-financial-data-analysis-meeting-report-paper-harmony-office.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"640\" \/>\n\t<meta property=\"og:image:height\" content=\"853\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/web-stories\\\/tabulating-data-in-python-a-beginners-guide\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/web-stories\\\/tabulating-data-in-python-a-beginners-guide\\\/\"},\"author\":{\"name\":\"Admin\",\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/#\\\/schema\\\/person\\\/adfcccafe1795b39fe941ddafe76b6ab\"},\"headline\":\"Tabulating Data in Python: A Beginner&#8217;s Guide\",\"datePublished\":\"2024-03-01T07:11:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/web-stories\\\/tabulating-data-in-python-a-beginners-guide\\\/\"},\"wordCount\":176,\"image\":{\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/web-stories\\\/tabulating-data-in-python-a-beginners-guide\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/cropped-business-team-financial-data-analysis-meeting-report-paper-harmony-office.jpg\",\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/web-stories\\\/tabulating-data-in-python-a-beginners-guide\\\/\",\"url\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/web-stories\\\/tabulating-data-in-python-a-beginners-guide\\\/\",\"name\":\"Tabulating Data in Python: A Beginner's Guide - Pickl.AI\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/web-stories\\\/tabulating-data-in-python-a-beginners-guide\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/web-stories\\\/tabulating-data-in-python-a-beginners-guide\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/cropped-business-team-financial-data-analysis-meeting-report-paper-harmony-office.jpg\",\"datePublished\":\"2024-03-01T07:11:19+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/web-stories\\\/tabulating-data-in-python-a-beginners-guide\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/web-stories\\\/tabulating-data-in-python-a-beginners-guide\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/web-stories\\\/tabulating-data-in-python-a-beginners-guide\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/cropped-business-team-financial-data-analysis-meeting-report-paper-harmony-office.jpg\",\"contentUrl\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/cropped-business-team-financial-data-analysis-meeting-report-paper-harmony-office.jpg\",\"width\":640,\"height\":853,\"caption\":\"Business team of financial data analysis meeting with business intelligence, report paper and dashboard on laptop for marketing strategy. Business people working together to promote harmony in office.\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/web-stories\\\/tabulating-data-in-python-a-beginners-guide\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Stories\",\"item\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/web-stories\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Tabulating Data in Python: A Beginner&#8217;s Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/\",\"name\":\"Pickl.AI\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/#\\\/schema\\\/person\\\/adfcccafe1795b39fe941ddafe76b6ab\",\"name\":\"Admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/353a2bc4d584bc0705a194ad6cd03043005eae6d6f8ecfe3f0ef286d7d4d1dc8?s=96&d=mm&r=ga50c9c5ae9fb5534aba0f0b45ebbe6d3\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/353a2bc4d584bc0705a194ad6cd03043005eae6d6f8ecfe3f0ef286d7d4d1dc8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/353a2bc4d584bc0705a194ad6cd03043005eae6d6f8ecfe3f0ef286d7d4d1dc8?s=96&d=mm&r=g\",\"caption\":\"Admin\"},\"sameAs\":[\"https:\\\/\\\/pickl.ai\\\/blog\"],\"url\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/administrator\\\/transorgstandbyorangeironman\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Tabulating Data in Python: A Beginner's Guide - Pickl.AI","description":"Learn how to tabulate data in Python from this blog. You will learn how to tabulate data in Python using a structured manner.","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:\/\/www.pickl.ai\/blog\/web-stories\/tabulating-data-in-python-a-beginners-guide\/","og_locale":"en_US","og_type":"article","og_title":"Tabulating Data in Python: A Beginner's Guide","og_description":"Learn how to tabulate data in Python from this blog. You will learn how to tabulate data in Python using a structured manner.","og_url":"https:\/\/www.pickl.ai\/blog\/web-stories\/tabulating-data-in-python-a-beginners-guide\/","og_site_name":"Pickl.AI","og_image":[{"width":640,"height":853,"url":"https:\/\/www.pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/cropped-business-team-financial-data-analysis-meeting-report-paper-harmony-office.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.pickl.ai\/blog\/web-stories\/tabulating-data-in-python-a-beginners-guide\/#article","isPartOf":{"@id":"https:\/\/www.pickl.ai\/blog\/web-stories\/tabulating-data-in-python-a-beginners-guide\/"},"author":{"name":"Admin","@id":"https:\/\/www.pickl.ai\/blog\/#\/schema\/person\/adfcccafe1795b39fe941ddafe76b6ab"},"headline":"Tabulating Data in Python: A Beginner&#8217;s Guide","datePublished":"2024-03-01T07:11:19+00:00","mainEntityOfPage":{"@id":"https:\/\/www.pickl.ai\/blog\/web-stories\/tabulating-data-in-python-a-beginners-guide\/"},"wordCount":176,"image":{"@id":"https:\/\/www.pickl.ai\/blog\/web-stories\/tabulating-data-in-python-a-beginners-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/cropped-business-team-financial-data-analysis-meeting-report-paper-harmony-office.jpg","inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.pickl.ai\/blog\/web-stories\/tabulating-data-in-python-a-beginners-guide\/","url":"https:\/\/www.pickl.ai\/blog\/web-stories\/tabulating-data-in-python-a-beginners-guide\/","name":"Tabulating Data in Python: A Beginner's Guide - Pickl.AI","isPartOf":{"@id":"https:\/\/www.pickl.ai\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.pickl.ai\/blog\/web-stories\/tabulating-data-in-python-a-beginners-guide\/#primaryimage"},"image":{"@id":"https:\/\/www.pickl.ai\/blog\/web-stories\/tabulating-data-in-python-a-beginners-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/cropped-business-team-financial-data-analysis-meeting-report-paper-harmony-office.jpg","datePublished":"2024-03-01T07:11:19+00:00","breadcrumb":{"@id":"https:\/\/www.pickl.ai\/blog\/web-stories\/tabulating-data-in-python-a-beginners-guide\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pickl.ai\/blog\/web-stories\/tabulating-data-in-python-a-beginners-guide\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pickl.ai\/blog\/web-stories\/tabulating-data-in-python-a-beginners-guide\/#primaryimage","url":"https:\/\/www.pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/cropped-business-team-financial-data-analysis-meeting-report-paper-harmony-office.jpg","contentUrl":"https:\/\/www.pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/cropped-business-team-financial-data-analysis-meeting-report-paper-harmony-office.jpg","width":640,"height":853,"caption":"Business team of financial data analysis meeting with business intelligence, report paper and dashboard on laptop for marketing strategy. Business people working together to promote harmony in office."},{"@type":"BreadcrumbList","@id":"https:\/\/www.pickl.ai\/blog\/web-stories\/tabulating-data-in-python-a-beginners-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pickl.ai\/blog\/"},{"@type":"ListItem","position":2,"name":"Stories","item":"https:\/\/www.pickl.ai\/blog\/web-stories\/"},{"@type":"ListItem","position":3,"name":"Tabulating Data in Python: A Beginner&#8217;s Guide"}]},{"@type":"WebSite","@id":"https:\/\/www.pickl.ai\/blog\/#website","url":"https:\/\/www.pickl.ai\/blog\/","name":"Pickl.AI","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pickl.ai\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.pickl.ai\/blog\/#\/schema\/person\/adfcccafe1795b39fe941ddafe76b6ab","name":"Admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/353a2bc4d584bc0705a194ad6cd03043005eae6d6f8ecfe3f0ef286d7d4d1dc8?s=96&d=mm&r=ga50c9c5ae9fb5534aba0f0b45ebbe6d3","url":"https:\/\/secure.gravatar.com\/avatar\/353a2bc4d584bc0705a194ad6cd03043005eae6d6f8ecfe3f0ef286d7d4d1dc8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/353a2bc4d584bc0705a194ad6cd03043005eae6d6f8ecfe3f0ef286d7d4d1dc8?s=96&d=mm&r=g","caption":"Admin"},"sameAs":["https:\/\/pickl.ai\/blog"],"url":"https:\/\/www.pickl.ai\/blog\/administrator\/transorgstandbyorangeironman\/"}]}},"story_data":{"version":47,"pages":[{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"731ee652-64a9-48f4-8cad-4c8141246f64"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"backgroundColor":{"color":{"r":255,"g":255,"b":255,"a":0.3}},"width":320,"height":263,"type":"shape","x":51,"y":327,"mask":{"type":"rectangle"},"id":"37f80257-766d-4dca-bd45-1da1ecaa7370"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":1400,"height":1040,"sizes":{"medium":{"file":"business-team-financial-data-analysis-meeting-report-paper-harmony-office-300x223.jpg","width":300,"height":223,"filesize":25702,"mimeType":"image\/jpeg","sourceUrl":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/business-team-financial-data-analysis-meeting-report-paper-harmony-office-300x223.jpg"},"large":{"file":"business-team-financial-data-analysis-meeting-report-paper-harmony-office-1024x761.jpg","width":1024,"height":761,"filesize":87464,"mimeType":"image\/jpeg","sourceUrl":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/business-team-financial-data-analysis-meeting-report-paper-harmony-office-1024x761.jpg"},"thumbnail":{"file":"business-team-financial-data-analysis-meeting-report-paper-harmony-office-150x150.jpg","width":150,"height":150,"filesize":18822,"mimeType":"image\/jpeg","sourceUrl":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/business-team-financial-data-analysis-meeting-report-paper-harmony-office-150x150.jpg"},"medium_large":{"file":"business-team-financial-data-analysis-meeting-report-paper-harmony-office-768x571.jpg","width":768,"height":571,"filesize":61619,"mimeType":"image\/jpeg","sourceUrl":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/business-team-financial-data-analysis-meeting-report-paper-harmony-office-768x571.jpg"},"magine-hero":{"file":"business-team-financial-data-analysis-meeting-report-paper-harmony-office-1400x600.jpg","width":1400,"height":600,"filesize":96123,"mimeType":"image\/jpeg","sourceUrl":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/business-team-financial-data-analysis-meeting-report-paper-harmony-office-1400x600.jpg"},"magine-thumbnail":{"file":"business-team-financial-data-analysis-meeting-report-paper-harmony-office-900x600.jpg","width":900,"height":600,"filesize":69604,"mimeType":"image\/jpeg","sourceUrl":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/business-team-financial-data-analysis-meeting-report-paper-harmony-office-900x600.jpg"},"magine-vertical-thumbnail":{"file":"business-team-financial-data-analysis-meeting-report-paper-harmony-office-600x800.jpg","width":600,"height":800,"filesize":68504,"mimeType":"image\/jpeg","sourceUrl":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/business-team-financial-data-analysis-meeting-report-paper-harmony-office-600x800.jpg"},"web-stories-poster-portrait":{"file":"business-team-financial-data-analysis-meeting-report-paper-harmony-office-640x853.jpg","width":640,"height":853,"filesize":73883,"mimeType":"image\/jpeg","sourceUrl":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/business-team-financial-data-analysis-meeting-report-paper-harmony-office-640x853.jpg"},"web-stories-publisher-logo":{"file":"business-team-financial-data-analysis-meeting-report-paper-harmony-office-96x96.jpg","width":96,"height":96,"filesize":15884,"mimeType":"image\/jpeg","sourceUrl":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/business-team-financial-data-analysis-meeting-report-paper-harmony-office-96x96.jpg"},"web-stories-thumbnail":{"file":"business-team-financial-data-analysis-meeting-report-paper-harmony-office-150x111.jpg","width":150,"height":111,"filesize":17455,"mimeType":"image\/jpeg","sourceUrl":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/business-team-financial-data-analysis-meeting-report-paper-harmony-office-150x111.jpg"},"full":{"file":"business-team-financial-data-analysis-meeting-report-paper-harmony-office.jpg","width":1400,"height":1040,"mimeType":"image\/jpeg","sourceUrl":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/business-team-financial-data-analysis-meeting-report-paper-harmony-office.jpg"}},"isPlaceholder":false,"isExternal":false,"needsProxy":false,"baseColor":"#649ed5","blurHash":"UOBDy,jZ00tSTOjc$IofNGogxZskE1n$xuog","creationDate":"2024-02-29T10:27:27","src":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/business-team-financial-data-analysis-meeting-report-paper-harmony-office.jpg","id":6462,"alt":"Data Blending in Tableau","local":false},"type":"image","x":55,"y":33,"width":318,"height":252,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"id":"e04e0b5a-1132-4e0b-a75d-888915532341"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":42,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.19,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Tabulating Data in Python: A Beginner's Guide<\/span>","x":56,"y":368,"width":298,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"type":"text","height":200,"id":"4789b738-992d-4cec-b40c-176699d0bbd5","marginOffset":0.7612499999999969}],"backgroundColor":{"color":{"r":109,"g":159,"b":255}},"id":"bcc15a58-4c8c-48a6-b207-fb41fdb8ed61"},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"id":"100ee99e-7ee4-4848-8626-c018e00acee4","type":"shape"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":37,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.19,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #ea7d00\">Using Pandas DataFrames<\/span>","x":99,"y":237,"width":258,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"height":87,"id":"025ec649-a185-4e75-821d-399a6fa4cb0f","marginOffset":0.6706250000000011,"type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":2560,"height":1572,"sizes":{"medium":{"file":"database-computer-system-digital-storage-concept-1-300x184.jpg","width":300,"height":184,"filesize":66969,"mimeType":"image\/jpeg","sourceUrl":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/database-computer-system-digital-storage-concept-1-300x184.jpg"},"large":{"file":"database-computer-system-digital-storage-concept-1-1024x629.jpg","width":1024,"height":629,"filesize":180463,"mimeType":"image\/jpeg","sourceUrl":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/database-computer-system-digital-storage-concept-1-1024x629.jpg"},"thumbnail":{"file":"database-computer-system-digital-storage-concept-1-150x150.jpg","width":150,"height":150,"filesize":56025,"mimeType":"image\/jpeg","sourceUrl":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/database-computer-system-digital-storage-concept-1-150x150.jpg"},"medium_large":{"file":"database-computer-system-digital-storage-concept-1-768x472.jpg","width":768,"height":472,"filesize":133545,"mimeType":"image\/jpeg","sourceUrl":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/database-computer-system-digital-storage-concept-1-768x472.jpg"},"1536x1536":{"file":"database-computer-system-digital-storage-concept-1-1536x943.jpg","width":1536,"height":943,"filesize":286491,"mimeType":"image\/jpeg","sourceUrl":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/database-computer-system-digital-storage-concept-1-1536x943.jpg"},"2048x2048":{"file":"database-computer-system-digital-storage-concept-1-2048x1257.jpg","width":2048,"height":1257,"filesize":406947,"mimeType":"image\/jpeg","sourceUrl":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/database-computer-system-digital-storage-concept-1-2048x1257.jpg"},"full":{"file":"database-computer-system-digital-storage-concept-1-scaled.jpg","width":2560,"height":1572,"mimeType":"image\/jpeg","sourceUrl":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/database-computer-system-digital-storage-concept-1-scaled.jpg"}},"isPlaceholder":false,"isExternal":false,"needsProxy":false,"baseColor":"#dad5ce","blurHash":"UKM7lj?^4mxuWs.9MxWBDhxtIoMx.9IUWDaf","creationDate":"2024-02-29T12:17:50","src":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/database-computer-system-digital-storage-concept-1-scaled.jpg","id":6469,"alt":"","local":false,"provider":"local"},"type":"image","x":55,"y":17,"width":303,"height":192,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"id":"0a368049-847e-49c4-8cb2-688ec5a92d94"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Alegreya"},"fontSize":21,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700\">\u00b7 &nbsp;Pandas, a powerful library for data manipulation and analysis, offers the DataFrame structure for tabulating data.<\/span>\n<span style=\"font-weight: 700\">\u00b7 &nbsp;Import pandas and create a DataFrame to organize your data into rows and columns effortlessly.<\/span>","x":65,"y":352,"width":292,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"type":"text","height":207,"id":"aeb419a1-ad8d-4e9c-8c68-6edd76d63145","marginOffset":0.6187499999999986},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":27,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #ea7d00\">Learn More&nbsp;<\/span>","x":141,"y":581,"width":175,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"type":"text","height":31,"id":"051af514-126d-4b75-a021-4531e7b25915","link":{"needsProxy":false,"url":"https:\/\/pickl.ai\/blog\/how-to-tabulate-data-in-python\/","rel":[],"type":"regular","pageId":null,"icon":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2023\/08\/How-to-Tabulate-Data-in-Python.jpg","desc":"How to Tabulate Data in Python?- Pickl.AI"}}],"backgroundColor":{"color":{"r":182,"g":182,"b":182}},"animations":[{"id":"cf7e80ad-886a-46ca-bc49-02f6f85003de","type":"effect-fly-in","flyInDir":"leftToRight","duration":600,"delay":0,"targets":["0a368049-847e-49c4-8cb2-688ec5a92d94"]}],"id":"1fbecc1a-6742-4c34-adc1-399dcff16d1e"},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"id":"dd145509-cac4-4cfb-b067-eb6620085703","type":"shape"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":43,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.19,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Example Code Snippet<\/span>","x":61,"y":79,"width":303,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"height":103,"id":"4245b956-d8a6-43fa-9cf7-187f7ffa292d","marginOffset":0.7974999999999994,"type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Alegreya"},"fontSize":21,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"color: #ffd900\">import pandas as pd<\/span>\n<span style=\"color: #ffd900\"># Sample data<\/span>\n<span style=\"color: #ffd900\">import pandas as pd<\/span>\n<span style=\"color: #ffd900\">data = {'Name': ['Alice', 'Bob', 'Charlie'],<\/span>\n<span style=\"color: #ffd900\">'Age': [25, 30, 35],<\/span>\n<span style=\"color: #ffd900\">'City': ['New York', 'Los Angeles', 'Chicago']}<\/span>\n<span style=\"color: #ffd900\"># Creating a DataFrame<\/span>\n<span style=\"color: #ffd900\">df = pd.DataFrame(data)<\/span>\n<span style=\"color: #ffd900\">print(df)<\/span>","x":72,"y":218,"width":292,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"height":281,"id":"106773ad-d02b-4386-b2ac-3a5e3bf9bd79","marginOffset":0.6187499999999986,"type":"text"}],"backgroundColor":{"color":{"r":109,"g":159,"b":255}},"animations":[],"id":"cc53fff1-116b-4fe9-9e97-35ae27a4a031"},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"id":"701b64a4-c17b-4e97-a222-6e5ed855618f","type":"shape"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":37,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.19,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Tabulating with PrettyTable<\/span>","x":77,"y":276,"width":258,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"height":88,"id":"91702316-1a44-4a3f-8df9-f0fc7b1034f0","marginOffset":0.6706250000000011,"type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Alegreya"},"fontSize":21,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700\">It allows you to create stylish and readable tables from your data.<\/span>\n<span style=\"font-weight: 700\">Install PrettyTable and use its functions to display tabulated data with ease.<\/span>","x":83,"y":388,"width":280,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"height":155,"id":"fffc14c4-ca7c-446a-968b-4738db9e65b8","marginOffset":0.6187499999999986,"type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":27,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Learn More&nbsp;<\/span>","x":135,"y":567,"width":175,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"height":31,"id":"c061d31c-09a6-454b-868a-79ddd75f5e3f","type":"text","link":{"needsProxy":false,"url":"https:\/\/pickl.ai\/blog\/importance-of-tableau-for-data-science\/","rel":[],"type":"regular","pageId":null,"icon":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2023\/06\/How-Data-Scientists-use-Tableau.jpg","desc":"Importance of Tableau for Data Science- Pickl.AI"}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":2560,"height":2000,"sizes":{"medium":{"file":"5702438_59273-300x234.jpg","width":300,"height":234,"filesize":51514,"mimeType":"image\/jpeg","sourceUrl":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/5702438_59273-300x234.jpg"},"large":{"file":"5702438_59273-1024x800.jpg","width":1024,"height":800,"filesize":122141,"mimeType":"image\/jpeg","sourceUrl":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/5702438_59273-1024x800.jpg"},"thumbnail":{"file":"5702438_59273-150x150.jpg","width":150,"height":150,"filesize":42843,"mimeType":"image\/jpeg","sourceUrl":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/5702438_59273-150x150.jpg"},"medium_large":{"file":"5702438_59273-768x600.jpg","width":768,"height":600,"filesize":93857,"mimeType":"image\/jpeg","sourceUrl":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/5702438_59273-768x600.jpg"},"1536x1536":{"file":"5702438_59273-1536x1200.jpg","width":1536,"height":1200,"filesize":182882,"mimeType":"image\/jpeg","sourceUrl":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/5702438_59273-1536x1200.jpg"},"2048x2048":{"file":"5702438_59273-2048x1600.jpg","width":2048,"height":1600,"filesize":248834,"mimeType":"image\/jpeg","sourceUrl":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/5702438_59273-2048x1600.jpg"},"magine-hero":{"file":"5702438_59273-1400x600.jpg","width":1400,"height":600,"filesize":137923,"mimeType":"image\/jpeg","sourceUrl":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/5702438_59273-1400x600.jpg"},"magine-thumbnail":{"file":"5702438_59273-900x600.jpg","width":900,"height":600,"filesize":105737,"mimeType":"image\/jpeg","sourceUrl":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/5702438_59273-900x600.jpg"},"magine-vertical-thumbnail":{"file":"5702438_59273-600x800.jpg","width":600,"height":800,"filesize":90269,"mimeType":"image\/jpeg","sourceUrl":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/5702438_59273-600x800.jpg"},"web-stories-poster-portrait":{"file":"5702438_59273-640x853.jpg","width":640,"height":853,"filesize":96483,"mimeType":"image\/jpeg","sourceUrl":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/5702438_59273-640x853.jpg"},"web-stories-publisher-logo":{"file":"5702438_59273-96x96.jpg","width":96,"height":96,"filesize":39307,"mimeType":"image\/jpeg","sourceUrl":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/5702438_59273-96x96.jpg"},"web-stories-thumbnail":{"file":"5702438_59273-150x117.jpg","width":150,"height":117,"filesize":41273,"mimeType":"image\/jpeg","sourceUrl":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/5702438_59273-150x117.jpg"},"full":{"file":"5702438_59273-scaled.jpg","width":2560,"height":2000,"mimeType":"image\/jpeg","sourceUrl":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/5702438_59273-scaled.jpg"}},"isPlaceholder":false,"isExternal":false,"needsProxy":false,"baseColor":"#a3cfdc","blurHash":"UdP6E4I[wY%0PWs,n#R-}Ns,kERkwrNKS6s,","creationDate":"2024-02-29T06:48:37","src":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/5702438_59273-scaled.jpg","id":6441,"alt":"5702438_59273","local":false},"type":"image","x":42,"y":-3,"width":320,"height":255,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"id":"e535bc6d-b8d7-4bf2-b0dd-aff8be61c616"}],"backgroundColor":{"color":{"r":182,"g":182,"b":182}},"animations":[{"id":"615fd22f-875e-44e8-8b6e-5c12a8345c81","type":"effect-whoosh-in","whooshInDir":"rightToLeft","duration":600,"delay":0,"targets":["e535bc6d-b8d7-4bf2-b0dd-aff8be61c616"]}],"id":"77d11cab-4e30-4e70-859e-3b3d22971ab9"},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"id":"e079f07b-e206-4853-9e98-c8b5af1a5922","type":"shape"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":37,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.19,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #fff\">Example Code Snippet<\/span>","x":77,"y":49,"width":258,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"height":88,"id":"f82d55b8-0eaf-4db1-85f1-4bc6209e752e","marginOffset":0.6706250000000011,"type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Alegreya"},"fontSize":21,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"color: #ffd900\">Pip install prettytable<\/span>\n<span style=\"color: #ffd900\">from prettytable import PrettyTable<\/span>\n<span style=\"color: #ffd900\"># Sample data<\/span>\n<span style=\"color: #ffd900\">data = [['Alice', 25, 'New York'],<\/span>\n<span style=\"color: #ffd900\">['Bob', 30, 'Los Angeles'],<\/span>\n<span style=\"color: #ffd900\">['Charlie', 35, 'Chicago']]<\/span>\n<span style=\"color: #ffd900\"># Creating a PrettyTable object<\/span>\n<span style=\"color: #ffd900\">table = PrettyTable(['Name', 'Age', 'City'])<\/span>\n<span style=\"color: #ffd900\"># Adding data to the table<\/span>\n<span style=\"color: #ffd900\">for row in data:<\/span>\n<span style=\"color: #ffd900\">table.add_row(row)<\/span>\n<span style=\"color: #ffd900\"># Printing the table<\/span>\n<span style=\"color: #ffd900\">print(table)<\/span>","x":72,"y":185,"width":280,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"height":381,"id":"b0af8605-3c51-4913-b7b3-fe3fc8ec5f70","marginOffset":0.6187499999999986,"type":"text"}],"backgroundColor":{"color":{"r":109,"g":159,"b":255}},"animations":[],"id":"c03664ef-7765-4746-8dbc-508a80de4e3f"}],"fonts":{"Roboto":{"family":"Roboto","fallbacks":["sans-serif"],"weights":[100,300,400,500,700,900],"styles":["italic","regular"],"variants":[[0,100],[1,100],[0,300],[1,300],[0,400],[1,400],[0,500],[1,500],[0,700],[1,700],[0,900],[1,900]],"service":"fonts.google.com","metrics":{"upm":2048,"asc":1900,"des":-500,"tAsc":1536,"tDes":-512,"tLGap":102,"wAsc":1946,"wDes":512,"xH":1082,"capH":1456,"yMin":-555,"yMax":2163,"hAsc":1900,"hDes":-500,"lGap":0}},"Alegreya":{"family":"Alegreya","fallbacks":["serif"],"weights":[400,500,600,700,800,900],"styles":["regular","italic"],"variants":[[0,400],[0,500],[0,600],[0,700],[0,800],[0,900],[1,400],[1,500],[1,600],[1,700],[1,800],[1,900]],"service":"fonts.google.com","metrics":{"upm":1000,"asc":1016,"des":-345,"tAsc":1016,"tDes":-345,"tLGap":0,"wAsc":1123,"wDes":345,"xH":452,"capH":637,"yMin":-293,"yMax":962,"hAsc":1016,"hDes":-345,"lGap":0}}},"autoAdvance":true,"defaultPageDuration":7,"currentStoryStyles":{"colors":[]}},"story_poster":{"id":6483,"url":"https:\/\/www.pickl.ai\/blog\/wp-content\/uploads\/2024\/02\/cropped-business-team-financial-data-analysis-meeting-report-paper-harmony-office.jpg","width":640,"height":853,"needsProxy":false},"_links":{"self":[{"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/web-stories\/v1\/web-story\/6467","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/web-stories\/v1\/web-story"}],"about":[{"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/wp\/v2\/types\/web-story"}],"author":[{"embeddable":true,"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/web-stories\/v1\/users\/1"}],"version-history":[{"count":2,"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/web-stories\/v1\/web-story\/6467\/revisions"}],"predecessor-version":[{"id":6484,"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/web-stories\/v1\/web-story\/6467\/revisions\/6484"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/web-stories\/v1\/media\/6483"}],"wp:attachment":[{"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/web-stories\/v1\/media?parent=6467"}],"wp:term":[{"taxonomy":"web_story_category","embeddable":true,"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/web-stories\/v1\/web_story_category?post=6467"},{"taxonomy":"web_story_tag","embeddable":true,"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/web-stories\/v1\/web_story_tag?post=6467"}],"wp:lock":[{"embeddable":true,"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/web-stories\/v1\/web-story\/6467\/lock"}],"wp:publisherlogo":[{"embeddable":true,"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/web-stories\/v1\/media\/935"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}