{"id":12376,"date":"2020-02-20T10:28:33","date_gmt":"2020-02-20T04:58:33","guid":{"rendered":"https:\/\/www.mygreatlearning.com\/blog\/python-pandas-tutorial\/"},"modified":"2025-06-27T20:55:01","modified_gmt":"2025-06-27T15:25:01","slug":"python-pandas-tutorial","status":"publish","type":"post","link":"https:\/\/www.mygreatlearning.com\/blog\/python-pandas-tutorial\/","title":{"rendered":"Introduction to Python Pandas"},"content":{"rendered":"\n<p>You work with data, and this data comes in tables, like in Excel spreadsheets or databases. Managing this kind of data in Python can be tricky with just basic lists or dictionaries. This is where Pandas helps.<\/p>\n\n\n\n<p>It helps you quickly handle common data tasks. This saves you a lot of time when preparing data for <a href=\"https:\/\/www.mygreatlearning.com\/blog\/what-is-data-analytics\/\">analysis<\/a> or <a href=\"https:\/\/www.mygreatlearning.com\/blog\/what-is-machine-learning\/\">machine learning<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-is-pandas\">What is Pandas?<\/h2>\n\n\n\n<p>Pandas is an open-source Python library. It provides data structures like <strong>Series<\/strong> and <strong>DataFrames<\/strong> that simplify working with \"relational\" or \"labeled\" data. You can think of it like a spreadsheet for your Python code.<\/p>\n\n\n\n<p>It builds on top of <a href=\"https:\/\/numpy.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">NumPy<\/a>, another Python library for numerical operations. Pandas makes data operations fast and efficient, even with large datasets.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"getting-started-installation-and-import\">Getting Started: Installation and Import<\/h2>\n\n\n\n<p>Before you use Pandas, you need to install it. If you have Python installed, use <code>pip<\/code>.<\/p>\n\n\n\n<p>To install Pandas, open your terminal or command prompt and type:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\npip install pandas\n<\/pre><\/div>\n\n\n<p>After installing, you need to import the library into your Python script or Jupyter Notebook. The standard way is to import it with the alias <code>pd<\/code>.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nimport pandas as pd\n<\/pre><\/div>\n\n\n<p>This line makes all Pandas functions available through <code>pd.<\/code>.<\/p>\n\n\n\n    <div class=\"courses-cta-container\">\n        <div class=\"courses-cta-card\">\n            <div class=\"courses-cta-header\">\n                <div class=\"courses-learn-icon\"><\/div>\n                <span class=\"courses-learn-text\">Academy Pro<\/span>\n            <\/div>\n            <p class=\"courses-cta-title\">\n                <a href=\"https:\/\/www.mygreatlearning.com\/academy\/premium\/hands-on-data-science-using-python\" class=\"courses-cta-title-link\">Master Data Science with Python Course<\/a>\n            <\/p>\n            <p class=\"courses-cta-description\">Learn Data Science with Python in this comprehensive course! From data wrangling to machine learning, gain the expertise to turn raw data into actionable insights with hands-on practice.<\/p>\n            <div class=\"courses-cta-stats\">\n                <div class=\"courses-stat-item\">\n                    <div class=\"courses-stat-icon courses-user-icon\"><\/div>\n                    <span>12.5 Hrs<\/span>\n                <\/div>\n                <div class=\"courses-stat-item\">\n                    <div class=\"courses-stat-icon courses-star-icon\"><\/div>\n                    <span>1 Project<\/span>\n                <\/div>\n            <\/div>\n            <a href=\"https:\/\/www.mygreatlearning.com\/academy\/premium\/hands-on-data-science-using-python\" class=\"courses-cta-button\">\n                Learn Data Science with Python\n                <div class=\"courses-arrow-icon\"><\/div>\n            <\/a>\n        <\/div>\n    <\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"pandas-data-structures\">Pandas Data Structures<\/h2>\n\n\n\n<p>Pandas mainly uses two core data structures:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Series:<\/strong> A one-dimensional array. It can hold any data type (numbers, strings, objects). Think of it as a single column of data from a spreadsheet.<\/li>\n\n\n\n<li><strong>DataFrame:<\/strong> A two-dimensional table. It stores data in rows and columns. This is like a complete Excel spreadsheet or a database table.<\/li>\n<\/ul>\n\n\n\n<p>Let\u2019s look at how to create them.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"1-creating-a-series\">1. Creating a Series<\/h3>\n\n\n\n<p>You can create a Series from a list or a NumPy array.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nimport pandas as pd\n\n# Create a Series from a list\ndata_list = &#x5B;10, 20, 30, 40, 50]\nmy_series = pd.Series(data_list)\nprint(&quot;Series from a list:&quot;)\nprint(my_series)\n\n# Create a Series with custom labels (index)\ndata_dict = {&#039;a&#039;: 100, &#039;b&#039;: 200, &#039;c&#039;: 300}\nmy_series_labeled = pd.Series(data_dict)\nprint(&quot;\\nSeries with custom labels:&quot;)\nprint(my_series_labeled)\n<\/pre><\/div>\n\n\n<p>This code outputs:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSeries from a list:\n0    10\n1    20\n2    30\n3    40\n4    50\ndtype: int64\n\nSeries with custom labels:\na    100\nb    200\nc    300\ndtype: int64\n<\/pre><\/div>\n\n\n<p>Notice the numbers 0, 1, 2, 3, 4 on the left. These are the default index (labels) of the Series. When you use a dictionary, the keys become the index.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"2-creating-a-dataframe\">2. Creating a DataFrame<\/h3>\n\n\n\n<p>You can create a DataFrame from dictionaries, lists of lists, or by reading data from files.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"from-a-dictionary\">From a Dictionary<\/h4>\n\n\n\n<p>This is a common way to create a DataFrame. Each key in the dictionary becomes a column name.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nimport pandas as pd\n\n# Create a DataFrame from a dictionary\ndata = {\n    &#039;Name&#039;: &#x5B;&#039;Alice&#039;, &#039;Bob&#039;, &#039;Charlie&#039;, &#039;David&#039;],\n    &#039;Age&#039;: &#x5B;25, 30, 35, 28],\n    &#039;City&#039;: &#x5B;&#039;New York&#039;, &#039;London&#039;, &#039;Paris&#039;, &#039;Tokyo&#039;]\n}\ndf = pd.DataFrame(data)\nprint(&quot;DataFrame from a dictionary:&quot;)\nprint(df)\n<\/pre><\/div>\n\n\n<p>This code outputs:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nDataFrame from a dictionary:\n      Name  Age      City\n0    Alice   25  New York\n1      Bob   30    London\n2  Charlie   35     Paris\n3    David   28     Tokyo\n<\/pre><\/div>\n\n\n<p>This looks like a table, with column names and rows. The numbers 0, 1, 2, 3 are the default row index.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"from-a-csv-file\">From a CSV File<\/h4>\n\n\n\n<p>Often, your data comes from files like CSV (Comma Separated Values). Pandas has functions to read these files directly into a DataFrame.<\/p>\n\n\n\n<p>First, create a sample <code>data.csv<\/code> file:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nName,Age,City\nAlice,25,New York\nBob,30,London\nCharlie,35,Paris\nDavid,28,Tokyo\n<\/pre><\/div>\n\n\n<p>Now, read it into a DataFrame:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nimport pandas as pd\n\n# Read a CSV file into a DataFrame\n# Make sure &#039;data.csv&#039; is in the same directory as your script\ndf_csv = pd.read_csv(&#039;data.csv&#039;)\nprint(&quot;\\nDataFrame from a CSV file:&quot;)\nprint(df_csv)\n<\/pre><\/div>\n\n\n<p>This code will produce the same DataFrame as the dictionary example if <code>data.csv<\/code> is correctly set up.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"basic-dataframe-operations\">Basic DataFrame Operations<\/h2>\n\n\n\n<p>Once you have a DataFrame, you can do many things with it.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"1-viewing-data\">1. Viewing Data<\/h3>\n\n\n\n<p>You often want to quickly see what your data looks like.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>df.head()<\/code>: Shows the first 5 rows.<\/li>\n\n\n\n<li><code>df.tail()<\/code>: Shows the last 5 rows.<\/li>\n\n\n\n<li><code>df.info()<\/code>: Gives a summary of the DataFrame, including data types and non-null values.<\/li>\n\n\n\n<li><code>df.describe()<\/code>: Provides statistical summary for numerical columns (mean, min, max, etc.).<\/li>\n\n\n\n<li><code>df.shape<\/code>: Returns a tuple with the number of rows and columns.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nimport pandas as pd\n\ndata = {\n    &#039;Name&#039;: &#x5B;&#039;Alice&#039;, &#039;Bob&#039;, &#039;Charlie&#039;, &#039;David&#039;, &#039;Eve&#039;, &#039;Frank&#039;],\n    &#039;Age&#039;: &#x5B;25, 30, 35, 28, 22, 40],\n    &#039;City&#039;: &#x5B;&#039;New York&#039;, &#039;London&#039;, &#039;Paris&#039;, &#039;Tokyo&#039;, &#039;Rome&#039;, &#039;Berlin&#039;],\n    &#039;Salary&#039;: &#x5B;50000, 60000, 75000, 55000, 48000, 80000]\n}\ndf = pd.DataFrame(data)\n\nprint(&quot;First 3 rows:&quot;)\nprint(df.head(3))\n\nprint(&quot;\\nLast 2 rows:&quot;)\nprint(df.tail(2))\n\nprint(&quot;\\nDataFrame Info:&quot;)\ndf.info()\n\nprint(&quot;\\nStatistical Description:&quot;)\nprint(df.describe())\n\nprint(&quot;\\nDataFrame Shape (rows, columns):&quot;)\nprint(df.shape)\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"2-selecting-data\">2. Selecting Data<\/h3>\n\n\n\n<p>You can select specific columns or rows from your DataFrame.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Select a single column: Use single square brackets <code>df['ColumnName']<\/code>. This returns a Series.<\/li>\n\n\n\n<li>Select multiple columns: Use double square brackets <code>df[['Col1', 'Col2']]<\/code>. This returns a DataFrame.<\/li>\n\n\n\n<li>Select rows by label (<code>.loc<\/code>): Use <code>.loc[row_label, column_label]<\/code>.<\/li>\n\n\n\n<li>Select rows by position (<code>.iloc<\/code>): Use <code>.iloc[row_position, column_position]<\/code>.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nimport pandas as pd\n\ndata = {\n    &#039;Name&#039;: &#x5B;&#039;Alice&#039;, &#039;Bob&#039;, &#039;Charlie&#039;, &#039;David&#039;, &#039;Eve&#039;, &#039;Frank&#039;],\n    &#039;Age&#039;: &#x5B;25, 30, 35, 28, 22, 40],\n    &#039;City&#039;: &#x5B;&#039;New York&#039;, &#039;London&#039;, &#039;Paris&#039;, &#039;Tokyo&#039;, &#039;Rome&#039;, &#039;Berlin&#039;],\n    &#039;Salary&#039;: &#x5B;50000, 60000, 75000, 55000, 48000, 80000]\n}\ndf = pd.DataFrame(data)\n\nprint(&quot;Select &#039;Name&#039; column:&quot;)\nprint(df&#x5B;&#039;Name&#039;])\n\nprint(&quot;\\nSelect &#039;Name&#039; and &#039;Age&#039; columns:&quot;)\nprint(df&#x5B;&#x5B;&#039;Name&#039;, &#039;Age&#039;]])\n\nprint(&quot;\\nSelect row with index 1 (Bob) using .loc:&quot;)\nprint(df.loc&#x5B;1]) # Selects row by its label (index)\n\nprint(&quot;\\nSelect row at position 1 (second row) using .iloc:&quot;)\nprint(df.iloc&#x5B;1]) # Selects row by its integer position\n\nprint(&quot;\\nSelect &#039;City&#039; for row with index 2 (Charlie) using .loc:&quot;)\nprint(df.loc&#x5B;2, &#039;City&#039;])\n\nprint(&quot;\\nSelect &#039;Age&#039; for row at position 0 (Alice) using .iloc:&quot;)\nprint(df.iloc&#x5B;0, 1]) # 0 for row position, 1 for column position (Age)\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"3-filtering-data\">3. Filtering Data<\/h3>\n\n\n\n<p>You can filter rows based on conditions. This helps you select subsets of your data.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nimport pandas as pd\n\ndata = {\n    &#039;Name&#039;: &#x5B;&#039;Alice&#039;, &#039;Bob&#039;, &#039;Charlie&#039;, &#039;David&#039;, &#039;Eve&#039;, &#039;Frank&#039;],\n    &#039;Age&#039;: &#x5B;25, 30, 35, 28, 22, 40],\n    &#039;City&#039;: &#x5B;&#039;New York&#039;, &#039;London&#039;, &#039;Paris&#039;, &#039;Tokyo&#039;, &#039;Rome&#039;, &#039;Berlin&#039;],\n    &#039;Salary&#039;: &#x5B;50000, 60000, 75000, 55000, 48000, 80000]\n}\ndf = pd.DataFrame(data)\n\n# Filter for people older than 30\nfiltered_df = df&#x5B;df&#x5B;&#039;Age&#039;] &gt; 30]\nprint(&quot;People older than 30:&quot;)\nprint(filtered_df)\n\n# Filter for people from London\nlondon_df = df&#x5B;df&#x5B;&#039;City&#039;] == &#039;London&#039;]\nprint(&quot;\\nPeople from London:&quot;)\nprint(london_df)\n\n# Filter with multiple conditions (Age &gt; 25 AND Salary &gt; 50000)\n# Use &amp;amp; for AND, | for OR\nmulti_cond_df = df&#x5B;(df&#x5B;&#039;Age&#039;] &gt; 25) &amp;amp; (df&#x5B;&#039;Salary&#039;] &gt; 50000)]\nprint(&quot;\\nPeople older than 25 AND earning over 50000:&quot;)\nprint(multi_cond_df)\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"4-adding-new-columns\">4. Adding New Columns<\/h3>\n\n\n\n<p>You can create new columns based on existing ones.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nimport pandas as pd\n\ndata = {\n    &#039;Name&#039;: &#x5B;&#039;Alice&#039;, &#039;Bob&#039;, &#039;Charlie&#039;, &#039;David&#039;],\n    &#039;Age&#039;: &#x5B;25, 30, 35, 28],\n    &#039;Salary&#039;: &#x5B;50000, 60000, 75000, 55000]\n}\ndf = pd.DataFrame(data)\n\n# Add a new column &#039;Bonus&#039;\ndf&#x5B;&#039;Bonus&#039;] = df&#x5B;&#039;Salary&#039;] * 0.10 # 10% bonus\nprint(&quot;DataFrame with &#039;Bonus&#039; column:&quot;)\nprint(df)\n\n# Add a &#039;Salary_Category&#039; column based on conditions\ndf&#x5B;&#039;Salary_Category&#039;] = &#x5B;&#039;High&#039; if x &gt; 60000 else &#039;Low&#039; for x in df&#x5B;&#039;Salary&#039;]]\nprint(&quot;\\nDataFrame with &#039;Salary_Category&#039; column:&quot;)\nprint(df)\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"cleaning-data-missing-values\">Cleaning Data (Missing Values)<\/h2>\n\n\n\n<p>Real-world data often has missing values. Pandas represents these as <code>NaN<\/code> (Not a Number). You can handle them in a few ways.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>df.isnull()<\/code>: Returns a DataFrame of booleans, <code>True<\/code> where values are missing.<\/li>\n\n\n\n<li><code>df.dropna()<\/code>: Removes rows or columns with missing values.<\/li>\n\n\n\n<li><code>df.fillna(value)<\/code>: Fills missing values with a specified value.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nimport pandas as pd\nimport numpy as np # Used for NaN\n\ndata = {\n    &#039;Name&#039;: &#x5B;&#039;Alice&#039;, &#039;Bob&#039;, &#039;Charlie&#039;, &#039;David&#039;, &#039;Eve&#039;],\n    &#039;Age&#039;: &#x5B;25, 30, np.nan, 28, 22],\n    &#039;City&#039;: &#x5B;&#039;New York&#039;, &#039;London&#039;, &#039;Paris&#039;, np.nan, &#039;Rome&#039;],\n    &#039;Salary&#039;: &#x5B;50000, 60000, 75000, 55000, np.nan]\n}\ndf_missing = pd.DataFrame(data)\nprint(&quot;Original DataFrame with missing values:&quot;)\nprint(df_missing)\n\nprint(&quot;\\nCheck for null values:&quot;)\nprint(df_missing.isnull())\n\n# Drop rows with any missing values\ndf_cleaned_drop = df_missing.dropna()\nprint(&quot;\\nDataFrame after dropping rows with missing values:&quot;)\nprint(df_cleaned_drop)\n\n# Fill missing &#039;Age&#039; with the mean age\nmean_age = df_missing&#x5B;&#039;Age&#039;].mean()\ndf_filled_age = df_missing.copy() # Make a copy to avoid changing original\ndf_filled_age&#x5B;&#039;Age&#039;] = df_filled_age&#x5B;&#039;Age&#039;].fillna(mean_age)\nprint(f&quot;\\nDataFrame after filling missing Age with mean ({mean_age:.2f}):&quot;)\nprint(df_filled_age)\n\n# Fill missing &#039;City&#039; with &#039;Unknown&#039;\ndf_filled_city = df_missing.copy()\ndf_filled_city&#x5B;&#039;City&#039;] = df_filled_city&#x5B;&#039;City&#039;].fillna(&#039;Unknown&#039;)\nprint(&quot;\\nDataFrame after filling missing City with &#039;Unknown&#039;:&quot;)\nprint(df_filled_city)\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"grouping-and-aggregating-data\">Grouping and Aggregating Data<\/h2>\n\n\n\n<p>You often need to group data by a category and then calculate sums, averages, or counts for each group. Pandas <code>groupby()<\/code> method is perfect for this.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nimport pandas as pd\n\ndata = {\n    &#039;Department&#039;: &#x5B;&#039;HR&#039;, &#039;Sales&#039;, &#039;HR&#039;, &#039;IT&#039;, &#039;Sales&#039;, &#039;IT&#039;],\n    &#039;Employee&#039;: &#x5B;&#039;Alice&#039;, &#039;Bob&#039;, &#039;Charlie&#039;, &#039;David&#039;, &#039;Eve&#039;, &#039;Frank&#039;],\n    &#039;Salary&#039;: &#x5B;50000, 60000, 75000, 80000, 55000, 90000]\n}\ndf_employees = pd.DataFrame(data)\nprint(&quot;Original Employee Data:&quot;)\nprint(df_employees)\n\n# Group by &#039;Department&#039; and calculate the mean salary\navg_salary_by_dept = df_employees.groupby(&#039;Department&#039;)&#x5B;&#039;Salary&#039;].mean()\nprint(&quot;\\nAverage Salary by Department:&quot;)\nprint(avg_salary_by_dept)\n\n# Group by &#039;Department&#039; and count employees\nemployee_count_by_dept = df_employees.groupby(&#039;Department&#039;)&#x5B;&#039;Employee&#039;].count()\nprint(&quot;\\nEmployee Count by Department:&quot;)\nprint(employee_count_by_dept)\n\n# Group by &#039;Department&#039; and get multiple aggregations\nagg_results = df_employees.groupby(&#039;Department&#039;).agg(\n    Total_Salary=(&#039;Salary&#039;, &#039;sum&#039;),\n    Avg_Salary=(&#039;Salary&#039;, &#039;mean&#039;),\n    Num_Employees=(&#039;Employee&#039;, &#039;count&#039;)\n)\nprint(&quot;\\nAggregated Results by Department:&quot;)\nprint(agg_results)\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\">Conclusion<\/h2>\n\n\n\n<p>Pandas is an essential library for anyone working with data in Python. It provides flexible <strong>Series<\/strong> and <strong>DataFrames<\/strong> to handle tabular data.<\/p>\n\n\n\n<p>You learned how to:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Install Pandas and import it.<\/li>\n\n\n\n<li>Create Series and DataFrames from lists, dictionaries, and CSV files.<\/li>\n\n\n\n<li>View, select, and filter data using various methods like <code>head()<\/code>, <code>loc[]<\/code>, and boolean indexing.<\/li>\n\n\n\n<li>Add new columns and handle missing values.<\/li>\n\n\n\n<li>Group and aggregate data using <code>groupby()<\/code>.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Pandas is a powerful Python library built for data manipulation and analysis. It gives you easy-to-use data structures and tools to work with tabular data. This means you can clean, transform, analyze, and visualize large datasets without writing a lot of complex code.<\/p>\n","protected":false},"author":41,"featured_media":12377,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[25860],"tags":[36796],"content_type":[],"class_list":["post-12376","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","tag-python"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Python Pandas Tutorial<\/title>\n<meta name=\"description\" content=\"Pandas in Python an Introduction: Let&#039;s Know about what is Pandas including creating data frames, handling missing values and data retrieval methods.\" \/>\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.mygreatlearning.com\/blog\/python-pandas-tutorial\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Introduction to Python Pandas\" \/>\n<meta property=\"og:description\" content=\"Pandas in Python an Introduction: Let&#039;s Know about what is Pandas including creating data frames, handling missing values and data retrieval methods.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mygreatlearning.com\/blog\/python-pandas-tutorial\/\" \/>\n<meta property=\"og:site_name\" content=\"Great Learning Blog: Free Resources what Matters to shape your Career!\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/GreatLearningOfficial\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-02-20T04:58:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-27T15:25:01+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/02\/shutterstock_1081142213.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"542\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Great Learning Editorial Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/Great_Learning\" \/>\n<meta name=\"twitter:site\" content=\"@Great_Learning\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Great Learning Editorial Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/python-pandas-tutorial\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/python-pandas-tutorial\\\/\"},\"author\":{\"name\":\"Great Learning Editorial Team\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/person\\\/6f993d1be4c584a335951e836f2656ad\"},\"headline\":\"Introduction to Python Pandas\",\"datePublished\":\"2020-02-20T04:58:33+00:00\",\"dateModified\":\"2025-06-27T15:25:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/python-pandas-tutorial\\\/\"},\"wordCount\":698,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/python-pandas-tutorial\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/shutterstock_1081142213.jpg\",\"keywords\":[\"python\"],\"articleSection\":[\"IT\\\/Software Development\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/python-pandas-tutorial\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/python-pandas-tutorial\\\/\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/python-pandas-tutorial\\\/\",\"name\":\"Python Pandas Tutorial\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/python-pandas-tutorial\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/python-pandas-tutorial\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/shutterstock_1081142213.jpg\",\"datePublished\":\"2020-02-20T04:58:33+00:00\",\"dateModified\":\"2025-06-27T15:25:01+00:00\",\"description\":\"Pandas in Python an Introduction: Let's Know about what is Pandas including creating data frames, handling missing values and data retrieval methods.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/python-pandas-tutorial\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/python-pandas-tutorial\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/python-pandas-tutorial\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/shutterstock_1081142213.jpg\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/shutterstock_1081142213.jpg\",\"width\":1000,\"height\":542,\"caption\":\"Python Pandas tutorial\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/python-pandas-tutorial\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"IT\\\/Software Development\",\"item\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/software\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Introduction to Python Pandas\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\",\"name\":\"Great Learning Blog\",\"description\":\"Learn, Upskill &amp; Career Development Guide and Resources\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\"},\"alternateName\":\"Great Learning\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\",\"name\":\"Great Learning\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/GL-Logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/GL-Logo.jpg\",\"width\":900,\"height\":900,\"caption\":\"Great Learning\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/GreatLearningOfficial\\\/\",\"https:\\\/\\\/x.com\\\/Great_Learning\",\"https:\\\/\\\/www.instagram.com\\\/greatlearningofficial\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/school\\\/great-learning\\\/\",\"https:\\\/\\\/in.pinterest.com\\\/greatlearning12\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/beaconelearning\\\/\"],\"description\":\"Great Learning is a leading global ed-tech company for professional training and higher education. It offers comprehensive, industry-relevant, hands-on learning programs across various business, technology, and interdisciplinary domains driving the digital economy. These programs are developed and offered in collaboration with the world's foremost academic institutions.\",\"email\":\"info@mygreatlearning.com\",\"legalName\":\"Great Learning Education Services Pvt. Ltd\",\"foundingDate\":\"2013-11-29\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"1001\",\"maxValue\":\"5000\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/person\\\/6f993d1be4c584a335951e836f2656ad\",\"name\":\"Great Learning Editorial Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"caption\":\"Great Learning Editorial Team\"},\"description\":\"The Great Learning Editorial Staff includes a dynamic team of subject matter experts, instructors, and education professionals who combine their deep industry knowledge with innovative teaching methods. Their mission is to provide learners with the skills and insights needed to excel in their careers, whether through upskilling, reskilling, or transitioning into new fields.\",\"sameAs\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/\",\"https:\\\/\\\/in.linkedin.com\\\/school\\\/great-learning\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/Great_Learning\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCObs0kLIrDjX2LLSybqNaEA\"],\"award\":[\"Best EdTech Company of the Year 2024\",\"Education Economictimes Outstanding Education\\\/Edtech Solution Provider of the Year 2024\",\"Leading E-learning Platform 2024\"],\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/author\\\/greatlearning\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Python Pandas Tutorial","description":"Pandas in Python an Introduction: Let's Know about what is Pandas including creating data frames, handling missing values and data retrieval methods.","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.mygreatlearning.com\/blog\/python-pandas-tutorial\/","og_locale":"en_US","og_type":"article","og_title":"Introduction to Python Pandas","og_description":"Pandas in Python an Introduction: Let's Know about what is Pandas including creating data frames, handling missing values and data retrieval methods.","og_url":"https:\/\/www.mygreatlearning.com\/blog\/python-pandas-tutorial\/","og_site_name":"Great Learning Blog: Free Resources what Matters to shape your Career!","article_publisher":"https:\/\/www.facebook.com\/GreatLearningOfficial\/","article_published_time":"2020-02-20T04:58:33+00:00","article_modified_time":"2025-06-27T15:25:01+00:00","og_image":[{"width":1000,"height":542,"url":"http:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/02\/shutterstock_1081142213.jpg","type":"image\/jpeg"}],"author":"Great Learning Editorial Team","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/Great_Learning","twitter_site":"@Great_Learning","twitter_misc":{"Written by":"Great Learning Editorial Team","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.mygreatlearning.com\/blog\/python-pandas-tutorial\/#article","isPartOf":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/python-pandas-tutorial\/"},"author":{"name":"Great Learning Editorial Team","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/person\/6f993d1be4c584a335951e836f2656ad"},"headline":"Introduction to Python Pandas","datePublished":"2020-02-20T04:58:33+00:00","dateModified":"2025-06-27T15:25:01+00:00","mainEntityOfPage":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/python-pandas-tutorial\/"},"wordCount":698,"commentCount":2,"publisher":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/python-pandas-tutorial\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/02\/shutterstock_1081142213.jpg","keywords":["python"],"articleSection":["IT\/Software Development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.mygreatlearning.com\/blog\/python-pandas-tutorial\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.mygreatlearning.com\/blog\/python-pandas-tutorial\/","url":"https:\/\/www.mygreatlearning.com\/blog\/python-pandas-tutorial\/","name":"Python Pandas Tutorial","isPartOf":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/python-pandas-tutorial\/#primaryimage"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/python-pandas-tutorial\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/02\/shutterstock_1081142213.jpg","datePublished":"2020-02-20T04:58:33+00:00","dateModified":"2025-06-27T15:25:01+00:00","description":"Pandas in Python an Introduction: Let's Know about what is Pandas including creating data frames, handling missing values and data retrieval methods.","breadcrumb":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/python-pandas-tutorial\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mygreatlearning.com\/blog\/python-pandas-tutorial\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/python-pandas-tutorial\/#primaryimage","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/02\/shutterstock_1081142213.jpg","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/02\/shutterstock_1081142213.jpg","width":1000,"height":542,"caption":"Python Pandas tutorial"},{"@type":"BreadcrumbList","@id":"https:\/\/www.mygreatlearning.com\/blog\/python-pandas-tutorial\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/www.mygreatlearning.com\/blog\/"},{"@type":"ListItem","position":2,"name":"IT\/Software Development","item":"https:\/\/www.mygreatlearning.com\/blog\/software\/"},{"@type":"ListItem","position":3,"name":"Introduction to Python Pandas"}]},{"@type":"WebSite","@id":"https:\/\/www.mygreatlearning.com\/blog\/#website","url":"https:\/\/www.mygreatlearning.com\/blog\/","name":"Great Learning Blog","description":"Learn, Upskill &amp; Career Development Guide and Resources","publisher":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization"},"alternateName":"Great Learning","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.mygreatlearning.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization","name":"Great Learning","url":"https:\/\/www.mygreatlearning.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/06\/GL-Logo.jpg","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/06\/GL-Logo.jpg","width":900,"height":900,"caption":"Great Learning"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/GreatLearningOfficial\/","https:\/\/x.com\/Great_Learning","https:\/\/www.instagram.com\/greatlearningofficial\/","https:\/\/www.linkedin.com\/school\/great-learning\/","https:\/\/in.pinterest.com\/greatlearning12\/","https:\/\/www.youtube.com\/user\/beaconelearning\/"],"description":"Great Learning is a leading global ed-tech company for professional training and higher education. It offers comprehensive, industry-relevant, hands-on learning programs across various business, technology, and interdisciplinary domains driving the digital economy. These programs are developed and offered in collaboration with the world's foremost academic institutions.","email":"info@mygreatlearning.com","legalName":"Great Learning Education Services Pvt. Ltd","foundingDate":"2013-11-29","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"1001","maxValue":"5000"}},{"@type":"Person","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/person\/6f993d1be4c584a335951e836f2656ad","name":"Great Learning Editorial Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","caption":"Great Learning Editorial Team"},"description":"The Great Learning Editorial Staff includes a dynamic team of subject matter experts, instructors, and education professionals who combine their deep industry knowledge with innovative teaching methods. Their mission is to provide learners with the skills and insights needed to excel in their careers, whether through upskilling, reskilling, or transitioning into new fields.","sameAs":["https:\/\/www.mygreatlearning.com\/","https:\/\/in.linkedin.com\/school\/great-learning\/","https:\/\/x.com\/https:\/\/twitter.com\/Great_Learning","https:\/\/www.youtube.com\/channel\/UCObs0kLIrDjX2LLSybqNaEA"],"award":["Best EdTech Company of the Year 2024","Education Economictimes Outstanding Education\/Edtech Solution Provider of the Year 2024","Leading E-learning Platform 2024"],"url":"https:\/\/www.mygreatlearning.com\/blog\/author\/greatlearning\/"}]}},"uagb_featured_image_src":{"full":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/02\/shutterstock_1081142213.jpg",1000,542,false],"thumbnail":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/02\/shutterstock_1081142213-150x150.jpg",150,150,true],"medium":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/02\/shutterstock_1081142213-300x163.jpg",300,163,true],"medium_large":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/02\/shutterstock_1081142213-768x416.jpg",768,416,true],"large":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/02\/shutterstock_1081142213.jpg",1000,542,false],"1536x1536":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/02\/shutterstock_1081142213.jpg",1000,542,false],"2048x2048":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/02\/shutterstock_1081142213.jpg",1000,542,false],"web-stories-poster-portrait":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/02\/shutterstock_1081142213.jpg",640,347,false],"web-stories-publisher-logo":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/02\/shutterstock_1081142213.jpg",96,52,false],"web-stories-thumbnail":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2020\/02\/shutterstock_1081142213.jpg",150,81,false]},"uagb_author_info":{"display_name":"Great Learning Editorial Team","author_link":"https:\/\/www.mygreatlearning.com\/blog\/author\/greatlearning\/"},"uagb_comment_info":4,"uagb_excerpt":"Pandas is a powerful Python library built for data manipulation and analysis. It gives you easy-to-use data structures and tools to work with tabular data. This means you can clean, transform, analyze, and visualize large datasets without writing a lot of complex code.","_links":{"self":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/12376","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/comments?post=12376"}],"version-history":[{"count":39,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/12376\/revisions"}],"predecessor-version":[{"id":109157,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/12376\/revisions\/109157"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/media\/12377"}],"wp:attachment":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/media?parent=12376"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/categories?post=12376"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/tags?post=12376"},{"taxonomy":"content_type","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/content_type?post=12376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}