{"id":877,"date":"2023-06-15T09:02:52","date_gmt":"2023-06-15T09:02:52","guid":{"rendered":"https:\/\/www.programminginpython.com\/?p=877"},"modified":"2024-03-25T05:32:41","modified_gmt":"2024-03-25T05:32:41","slug":"pandas-library-python-data-manipulation-analysis","status":"publish","type":"post","link":"https:\/\/www.programminginpython.com\/pandas-library-python-data-manipulation-analysis\/","title":{"rendered":"Pandas library in Python: Guide to Data Manipulation and Analysis"},"content":{"rendered":"<p>Hello Python enthusiasts, welcome back to Programming In Python. Here in this article I will be discussing on Pandas library in Python which is one of the most used library for data manipulation and analysis. Let&#8217;s get started.<\/p>\n<h2><strong>Pandas library in Python &#8211; <\/strong>Introduction<\/h2>\n<p>Python is a popular programming language renowned for its simplicity and versatility. When it comes to data manipulation and analysis, Python offers numerous libraries, with Pandas standing out as one of the most powerful and widely used. Pandas provides efficient, flexible, and intuitive data structures and tools for manipulating and analyzing structured data. In this comprehensive guide, we will delve into the various features and functionalities of Pandas, providing practical examples along the way.<\/p>\n<p><strong>Table of Contents:<\/strong><br \/>\n1. What is Pandas?<br \/>\n2. Installation and Setup<br \/>\n3. Data Structures in Pandas<br \/>\n4. Data Input and Output<br \/>\n5. Data Manipulation with Pandas<br \/>\n6. Data Cleaning and Preprocessing<br \/>\n7. Data Analysis and Visualization<br \/>\n8. Conclusion<\/p>\n<h2>1. What is Pandas?<\/h2>\n<p>Pandas is an open-source library built on top of the Python programming language. Developed by Wes McKinney in 2008, Pandas provides high-performance, easy-to-use data structures and data analysis tools for handling structured data. The library is built around two primary data structures: the Series and the DataFrame.<\/p>\n<p>The Series represents a one-dimensional labeled array that can hold any data type. It is similar to a column in a spreadsheet or a SQL table. The DataFrame, on the other hand, is a two-dimensional labeled data structure with columns of potentially different types. It can be seen as a table or a spreadsheet, where each column represents a variable and each row represents an observation.<\/p>\n<h2>2. Installation and Setup<\/h2>\n<p>Before diving into Pandas, you need to install it. You can easily install Pandas using pip, the package installer for Python. Open your command prompt or terminal and run the following command:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">pip install pandas<\/pre>\n<p>Once Pandas is installed, you can import it into your Python environment using the following statement:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">import pandas as pd<\/pre>\n<p>Now you are ready to start working with Pandas!<\/p>\n<blockquote><p>Ad:<br \/>\n<span style=\"font-size: 18pt;\">Python for Data Science and Machine Learning Bootcamp \u2013 <a href=\"https:\/\/bit.ly\/python-data-science-machine-learning-bootcamp\" target=\"_blank\" rel=\"noopener\">Enroll Now<\/a>.<\/span><br \/>\n<span style=\"font-size: 12px;\">Udemy<\/span><\/p><\/blockquote>\n<h2>3. Data Structures in Pandas<\/h2>\n<p>As mentioned earlier, Pandas offers two primary data structures: Series and DataFrame. Let&#8217;s explore them in more detail:<\/p>\n<h3>3.1 Series<\/h3>\n<p>A Series is a one-dimensional labeled array that can hold any data type. It is created using the `pd.Series()` constructor. Here&#8217;s an example:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\">import pandas as pd\r\n\r\n# Create a Series from a list\r\ndata = [10, 20, 30, 40, 50]\r\nseries = pd.Series(data)\r\n\r\nprint(series)<\/pre>\n<p>Output:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">0 10\r\n1 20\r\n2 30\r\n3 40\r\n4 50\r\ndtype: int64<\/pre>\n<h3>3.2 DataFrame<\/h3>\n<p>A DataFrame is a two-dimensional labeled data structure with columns of potentially different types. It is created using the `pd.DataFrame()` constructor. Here&#8217;s an example:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\">import pandas as pd\r\n\r\n# Create a DataFrame from a dictionary\r\ndata = {\r\n'Name': ['John', 'Alice', 'Bob'],\r\n'Age': [25, 28, 22],\r\n'Country': ['USA', 'Canada', 'UK']\r\n}\r\ndf = pd.DataFrame(data)\r\n\r\nprint(df)<\/pre>\n<p>Output:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">Name Age Country\r\n0 John 25 USA\r\n1 Alice 28 Canada\r\n2 Bob 22 UK<\/pre>\n<h2>4. Data Input and Output<\/h2>\n<p>Pandas provides various methods for reading and writing data in different formats, including CSV, Excel, SQL databases, and more. Let&#8217;s explore a few examples:<\/p>\n<h3>4.1 CSV<\/h3>\n<p>To read a CSV file into a DataFrame, you can use the `pd.read_csv()` function. Here&#8217;s an example:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\">import pandas as pd\r\n\r\n# Read CSV file into a DataFrame\r\ndf = pd.read_csv('data.csv')\r\n\r\n# Display the first few rows of the DataFrame\r\nprint(df.head())<\/pre>\n<p>To write a DataFrame to a CSV file, you can use the `to_csv()` method:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\">import pandas as pd\r\n\r\n# Write DataFrame to a CSV file\r\ndf.to_csv('data.csv', index=False)<\/pre>\n<h3>4.2 Excel<\/h3>\n<p>Reading and writing Excel files is also straightforward with Pandas. To read an Excel file, you can use the `pd.read_excel()` function:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\">import pandas as pd\r\n\r\n# Read Excel file into a DataFrame\r\ndf = pd.read_excel('data.xlsx', sheet_name='Sheet1')\r\n\r\n# Display the DataFrame\r\nprint(df.head())<\/pre>\n<p>To write a DataFrame to an Excel file, you can use the `to_excel()` method:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\">import pandas as pd\r\n\r\n# Write DataFrame to an Excel file\r\ndf.to_excel('data.xlsx', sheet_name='Sheet1', index=False)<\/pre>\n<h2>5. Data Manipulation with Pandas<\/h2>\n<p>Pandas provides a rich set of functionalities for manipulating data. You can perform tasks such as filtering, sorting, aggregating, merging, and more. Let&#8217;s explore a few examples:<\/p>\n<h3>5.1 Filtering<\/h3>\n<p>You can filter a DataFrame based on specific conditions using Boolean indexing. Here&#8217;s an example:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\">import pandas as pd\r\n\r\n# Filter rows where the age is greater than 30\r\nfiltered_df = df[df['Age'] &gt; 30]\r\n\r\n# Display the filtered DataFrame\r\nprint(filtered_df)<\/pre>\n<h3>5.2 Sorting<\/h3>\n<p>You can sort a DataFrame based on one or more columns using the `sort_values()` method. Here&#8217;s an example:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\">import pandas as pd\r\n\r\n# Sort DataFrame by age in descending order\r\nsorted_df = df.sort_values(by='Age', ascending=False)\r\n\r\n# Display the sorted DataFrame\r\nprint(sorted_df)<\/pre>\n<blockquote><p>Ad:<br \/>\n<span style=\"font-size: 18pt;\">Python for Data Science and Machine Learning Bootcamp \u2013 <a href=\"https:\/\/bit.ly\/python-data-science-machine-learning-bootcamp\" target=\"_blank\" rel=\"noopener\">Enroll Now<\/a>.<\/span><br \/>\n<span style=\"font-size: 12px;\">Udemy<\/span><\/p><\/blockquote>\n<h2>6. Data Cleaning and Preprocessing<\/h2>\n<p>Data cleaning and preprocessing are crucial steps in data analysis. Pandas offers several functions and methods to handle missing values, duplicates, and other common data cleaning tasks. Let&#8217;s look at an example:<\/p>\n<h3>6.1 Handling Missing Values<\/h3>\n<p>To handle missing values in a DataFrame, you can use the `fillna()` method. Here&#8217;s an example:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\">import pandas as pd\r\n\r\n# Replace missing values with the mean of the column\r\ndf['Age'].fillna(df['Age'].mean(), inplace=True)<\/pre>\n<h2>7. Data Analysis and Visualization<\/h2>\n<p>Pandas integrates well with other libraries, such as <a href=\"https:\/\/www.programminginpython.com\/numpy-library-python-comprehensive-guide-examples\/\" target=\"_blank\" rel=\"noopener\">NumPy<\/a> and <a href=\"https:\/\/www.programminginpython.com\/matplotlib-data-visualization-python\/\" target=\"_blank\" rel=\"noopener\">Matplotlib<\/a>, allowing for advanced data analysis and visualization. Here&#8217;s a simple example of visualizing data using Pandas and Matplotlib:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\">import pandas as pd\r\nimport matplotlib.pyplot as plt\r\n\r\n# Plotting a bar chart\r\ndf['Country'].value_counts().plot(kind='bar')\r\n\r\n# Adding labels and title\r\nplt.xlabel('Country')\r\nplt.ylabel('Count')\r\nplt.title('Distribution of Countries')\r\n\r\n# Display the plot\r\nplt.show()<\/pre>\n<h2>8. Conclusion<\/h2>\n<p>Pandas is a powerful library for data manipulation and analysis in Python. It offers efficient data structures and a wide range of functions and methods for working with structured data. In this comprehensive guide, we covered the basics of Pandas, including data structures, data input and output, data manipulation, data cleaning, and data analysis and visualization. By leveraging Pandas, you can handle complex data tasks with ease, making it an essential tool for any data scientist or analyst.<\/p>\n<p>Remember to explore the official Pandas documentation and experiment with various functionalities to unlock the full potential of this incredible library.(<a href=\"https:\/\/pandas.pydata.org\/\" target=\"_blank\" rel=\"noopener\">https:\/\/pandas.pydata.org\/<\/a>)<\/p>\n<p>Also make sure to check other useful Python Libraries like <a href=\"https:\/\/www.programminginpython.com\/numpy-library-python-comprehensive-guide-examples\/\" target=\"_blank\" rel=\"noopener\">Numpy<\/a>, <a href=\"https:\/\/www.programminginpython.com\/matplotlib-data-visualization-python\/\" target=\"_blank\" rel=\"noopener\">Matplotlib<\/a>, Seaborn, PySpark and others <a href=\"https:\/\/www.programminginpython.com\/category\/python-libraries\/\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/p>\n<blockquote><p>Ad:<br \/>\n<span style=\"font-size: 18pt;\">Python for Data Science and Machine Learning Bootcamp \u2013 <a href=\"https:\/\/bit.ly\/python-data-science-machine-learning-bootcamp\" target=\"_blank\" rel=\"noopener\">Enroll Now<\/a>.<\/span><br \/>\n<span style=\"font-size: 12px;\">Udemy<\/span><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Hello Python enthusiasts, welcome back to Programming In Python. Here in this article I will be discussing on Pandas library in Python which is one of the most used library for data manipulation and analysis. Let&#8217;s get started. Pandas library in Python &#8211; Introduction Python is a popular programming language renowned for its simplicity and&#8230;<\/p>\n","protected":false},"author":1,"featured_media":906,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[192,257],"tags":[203,259,260,258,261,171,194,193],"class_list":["post-877","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python-for-data-science","category-python-libraries","tag-data","tag-data-analysis","tag-data-cleaning","tag-data-manipulation","tag-data-visualization","tag-pandas","tag-python-for-data-science","tag-python-libraries"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Pandas library in Python: Guide to Data Manipulation and Analysis<\/title>\n<meta name=\"description\" content=\"Pandas library in Python: Guide to Data Manipulation and Analysis - Python Libraries - Programming In 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:\/\/www.programminginpython.com\/pandas-library-python-data-manipulation-analysis\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pandas library in Python: Guide to Data Manipulation and Analysis\" \/>\n<meta property=\"og:description\" content=\"Pandas library in Python: Guide to Data Manipulation and Analysis - Python Libraries - Programming In Python\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.programminginpython.com\/pandas-library-python-data-manipulation-analysis\/\" \/>\n<meta property=\"og:site_name\" content=\"Programming In Python\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/programminginpython\" \/>\n<meta property=\"article:published_time\" content=\"2023-06-15T09:02:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-25T05:32:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.programminginpython.com\/wp-content\/uploads\/2023\/06\/Pandas-Python-Library.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"AVINASH NETHALA\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@python_pip\" \/>\n<meta name=\"twitter:site\" content=\"@python_pip\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"AVINASH NETHALA\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Pandas library in Python: Guide to Data Manipulation and Analysis","description":"Pandas library in Python: Guide to Data Manipulation and Analysis - Python Libraries - Programming In 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:\/\/www.programminginpython.com\/pandas-library-python-data-manipulation-analysis\/","og_locale":"en_US","og_type":"article","og_title":"Pandas library in Python: Guide to Data Manipulation and Analysis","og_description":"Pandas library in Python: Guide to Data Manipulation and Analysis - Python Libraries - Programming In Python","og_url":"https:\/\/www.programminginpython.com\/pandas-library-python-data-manipulation-analysis\/","og_site_name":"Programming In Python","article_publisher":"https:\/\/www.facebook.com\/programminginpython","article_published_time":"2023-06-15T09:02:52+00:00","article_modified_time":"2024-03-25T05:32:41+00:00","og_image":[{"width":1200,"height":600,"url":"https:\/\/www.programminginpython.com\/wp-content\/uploads\/2023\/06\/Pandas-Python-Library.png","type":"image\/png"}],"author":"AVINASH NETHALA","twitter_card":"summary_large_image","twitter_creator":"@python_pip","twitter_site":"@python_pip","twitter_misc":{"Written by":"AVINASH NETHALA","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.programminginpython.com\/pandas-library-python-data-manipulation-analysis\/#article","isPartOf":{"@id":"https:\/\/www.programminginpython.com\/pandas-library-python-data-manipulation-analysis\/"},"author":{"name":"AVINASH NETHALA","@id":"https:\/\/www.programminginpython.com\/#\/schema\/person\/9a3c14fe46d422ebf783ee61de1e788c"},"headline":"Pandas library in Python: Guide to Data Manipulation and Analysis","datePublished":"2023-06-15T09:02:52+00:00","dateModified":"2024-03-25T05:32:41+00:00","mainEntityOfPage":{"@id":"https:\/\/www.programminginpython.com\/pandas-library-python-data-manipulation-analysis\/"},"wordCount":834,"commentCount":0,"publisher":{"@id":"https:\/\/www.programminginpython.com\/#organization"},"image":{"@id":"https:\/\/www.programminginpython.com\/pandas-library-python-data-manipulation-analysis\/#primaryimage"},"thumbnailUrl":"https:\/\/www.programminginpython.com\/wp-content\/uploads\/2023\/06\/Pandas-Python-Library.png","keywords":["data","data analysis","data cleaning","data manipulation","data visualization","pandas","python for data science","python libraries"],"articleSection":["Python for Data Science","Python Libraries"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.programminginpython.com\/pandas-library-python-data-manipulation-analysis\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.programminginpython.com\/pandas-library-python-data-manipulation-analysis\/","url":"https:\/\/www.programminginpython.com\/pandas-library-python-data-manipulation-analysis\/","name":"Pandas library in Python: Guide to Data Manipulation and Analysis","isPartOf":{"@id":"https:\/\/www.programminginpython.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.programminginpython.com\/pandas-library-python-data-manipulation-analysis\/#primaryimage"},"image":{"@id":"https:\/\/www.programminginpython.com\/pandas-library-python-data-manipulation-analysis\/#primaryimage"},"thumbnailUrl":"https:\/\/www.programminginpython.com\/wp-content\/uploads\/2023\/06\/Pandas-Python-Library.png","datePublished":"2023-06-15T09:02:52+00:00","dateModified":"2024-03-25T05:32:41+00:00","description":"Pandas library in Python: Guide to Data Manipulation and Analysis - Python Libraries - Programming In Python","breadcrumb":{"@id":"https:\/\/www.programminginpython.com\/pandas-library-python-data-manipulation-analysis\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.programminginpython.com\/pandas-library-python-data-manipulation-analysis\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.programminginpython.com\/pandas-library-python-data-manipulation-analysis\/#primaryimage","url":"https:\/\/www.programminginpython.com\/wp-content\/uploads\/2023\/06\/Pandas-Python-Library.png","contentUrl":"https:\/\/www.programminginpython.com\/wp-content\/uploads\/2023\/06\/Pandas-Python-Library.png","width":1200,"height":600,"caption":"Pandas library in Python"},{"@type":"BreadcrumbList","@id":"https:\/\/www.programminginpython.com\/pandas-library-python-data-manipulation-analysis\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.programminginpython.com\/"},{"@type":"ListItem","position":2,"name":"Pandas library in Python: Guide to Data Manipulation and Analysis"}]},{"@type":"WebSite","@id":"https:\/\/www.programminginpython.com\/#website","url":"https:\/\/www.programminginpython.com\/","name":"Programming In Python","description":"All About Python","publisher":{"@id":"https:\/\/www.programminginpython.com\/#organization"},"alternateName":"pip","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.programminginpython.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.programminginpython.com\/#organization","name":"Programming In Python","alternateName":"PIP","url":"https:\/\/www.programminginpython.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.programminginpython.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.programminginpython.com\/wp-content\/uploads\/2023\/04\/pip_logo_500_500.png","contentUrl":"https:\/\/www.programminginpython.com\/wp-content\/uploads\/2023\/04\/pip_logo_500_500.png","width":500,"height":500,"caption":"Programming In Python"},"image":{"@id":"https:\/\/www.programminginpython.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/programminginpython","https:\/\/x.com\/python_pip","https:\/\/www.youtube.com\/programminginpython","https:\/\/github.com\/avinashn\/programminginpython.com"]},{"@type":"Person","@id":"https:\/\/www.programminginpython.com\/#\/schema\/person\/9a3c14fe46d422ebf783ee61de1e788c","name":"AVINASH NETHALA","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.programminginpython.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ed52e7670d7db94820c7430d324103ccdecb16d86611d5b29064aa9ce25a958b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ed52e7670d7db94820c7430d324103ccdecb16d86611d5b29064aa9ce25a958b?s=96&d=mm&r=g","caption":"AVINASH NETHALA"},"sameAs":["https:\/\/www.programminginpython.com\/"],"url":"https:\/\/www.programminginpython.com\/author\/avinash\/"}]}},"jetpack_featured_media_url":"https:\/\/www.programminginpython.com\/wp-content\/uploads\/2023\/06\/Pandas-Python-Library.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.programminginpython.com\/wp-json\/wp\/v2\/posts\/877","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.programminginpython.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.programminginpython.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.programminginpython.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.programminginpython.com\/wp-json\/wp\/v2\/comments?post=877"}],"version-history":[{"count":9,"href":"https:\/\/www.programminginpython.com\/wp-json\/wp\/v2\/posts\/877\/revisions"}],"predecessor-version":[{"id":960,"href":"https:\/\/www.programminginpython.com\/wp-json\/wp\/v2\/posts\/877\/revisions\/960"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.programminginpython.com\/wp-json\/wp\/v2\/media\/906"}],"wp:attachment":[{"href":"https:\/\/www.programminginpython.com\/wp-json\/wp\/v2\/media?parent=877"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.programminginpython.com\/wp-json\/wp\/v2\/categories?post=877"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.programminginpython.com\/wp-json\/wp\/v2\/tags?post=877"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}