

{"id":79315,"date":"2020-07-17T19:55:49","date_gmt":"2020-07-17T14:25:49","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=79315"},"modified":"2021-05-09T13:13:41","modified_gmt":"2021-05-09T07:43:41","slug":"numpy-statistical-functions","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/numpy-statistical-functions\/","title":{"rendered":"NumPy Statistical Functions with Examples"},"content":{"rendered":"<p>Statistics is concerned with collecting and then analyzing that data. It includes methods for collecting the samples, describing the data, and then concluding that data. NumPy is the fundamental package for scientific calculations and hence goes hand-in-hand for NumPy statistical Functions.<\/p>\n<p>NumPy contains various statistical functions that are used to perform statistical data analysis. These statistical functions are useful when finding a maximum or minimum of elements. It is also used to find basic statistical concepts like standard deviation, variance, etc.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Statistical-Functions.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-79429\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Statistical-Functions.jpg\" alt=\"NumPy Statistical Functions\" width=\"1200\" height=\"628\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Statistical-Functions.jpg 1200w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Statistical-Functions-300x157.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Statistical-Functions-1024x536.jpg 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Statistical-Functions-150x79.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Statistical-Functions-768x402.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Statistical-Functions-520x272.jpg 520w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/a><\/p>\n<h2>NumPy Statistical Functions<\/h2>\n<p>NumPy is equipped with the following statistical functions:<\/p>\n<p><strong>1. np.amin()-<\/strong> This function determines the minimum value of the element along a specified axis.<br \/>\n<strong>2. np.amax()-<\/strong> This function determines the maximum value of the element along a specified axis.<br \/>\n<strong>3. np.mean()-<\/strong> It determines the mean value of the data set.<br \/>\n<strong>4. np.median()-<\/strong> It determines the median value of the data set.<br \/>\n<strong>5. np.std()-<\/strong> It determines the standard deviation<br \/>\n<strong>6. np.var &#8211;<\/strong> It determines the variance.<br \/>\n<strong>7. np.ptp()-<\/strong> It returns a range of values along an axis.<br \/>\n<strong>8. np.average()-<\/strong> It determines the weighted average<br \/>\n<strong>9. np.percentile()-<\/strong> It determines the nth percentile of data along the specified axis.<\/p>\n<h3>Finding maximum and minimum of array in NumPy<\/h3>\n<p>NumPy <strong>np.amin()<\/strong>and <strong>np.amax()<\/strong>functions are useful to determine the minimum and maximum value of array elements along a specified axis.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np\r\narr= np.array([[1,23,78],[98,60,75],[79,25,48]])  \r\nprint(arr)\r\n#Minimum Function\r\nprint(np.amin(arr))\r\n#Maximum Function\r\nprint(np.amax(arr))\r\n<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">[[ 1 23 78]<br \/>\n[98 60 75]<br \/>\n[79 25 48]]<br \/>\n1<br \/>\n98<\/div>\n<h3>Finding Mean, Median, Standard Deviation and Variance in NumPy<\/h3>\n<h4>Mean<\/h4>\n<p>Mean is the sum of the elements divided by its sum and given by the following formula:<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/Eq-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-79433\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/Eq-1.png\" alt=\"Mean in NumPy\" width=\"278\" height=\"93\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/Eq-1.png 278w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/Eq-1-150x50.png 150w\" sizes=\"auto, (max-width: 278px) 100vw, 278px\" \/><\/a><\/p>\n<p>It calculates the mean by adding all the items of the arrays and then divides it by the number of elements. We can also mention the axis along which the mean can be calculated.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np\r\na = np.array([5,6,7]) \r\nprint(a)\r\nprint(np.mean(a))<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">[5 6 7]<br \/>\n6.0<\/div>\n<h4>Median<\/h4>\n<p>Median is the middle element of the array. The formula differs for odd and even sets.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/Eq2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-79434\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/Eq2.png\" alt=\"Median in NumPy\" width=\"217\" height=\"111\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/Eq2.png 217w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/Eq2-150x77.png 150w\" sizes=\"auto, (max-width: 217px) 100vw, 217px\" \/><\/a><\/p>\n<p>It can calculate the median for both one-dimensional and multi-dimensional arrays. Median separates the higher and lower range of data values.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np\r\na = np.array([5,6,7]) \r\nprint(a)\r\nprint(np.median(a))\r\n\r\n<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">[5 6 7]<br \/>\n6.0<\/div>\n<h4>Standard Deviation<\/h4>\n<p>Standard deviation is the square root of the average of square deviations from mean. The formula for standard deviation is:<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/Standard-Deviation-Equation.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-79432\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/Standard-Deviation-Equation.png\" alt=\"Standard Deviation Equation in NumPy\" width=\"207\" height=\"112\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/Standard-Deviation-Equation.png 207w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/Standard-Deviation-Equation-150x81.png 150w\" sizes=\"auto, (max-width: 207px) 100vw, 207px\" \/><\/a><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np\r\na = np.array([5,6,7]) \r\nprint(a)\r\nprint(np.std(a))<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">[5 6 7]<br \/>\n0.816496580927726<\/div>\n<h4>Variance<\/h4>\n<p>Variance is the average of the square deviations. Following is the formula for the same:<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/Variance.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-79431\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/Variance.png\" alt=\"Variance in NumPy\" width=\"194\" height=\"102\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/Variance.png 194w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/Variance-150x79.png 150w\" sizes=\"auto, (max-width: 194px) 100vw, 194px\" \/><\/a><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np\r\na = np.array([5,6,7]) \r\nprint(a)\r\nprint(np.var(a))\r\n<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">[5 6 7]<br \/>\n0.6666666666666666<\/div>\n<h3>NumPy Average Function<\/h3>\n<p>NumPy <strong>np.average() <\/strong>function determines the weighted average along with the multi-dimensional arrays. The weighted average is calculated by multiplying the component by its weight, the weights are specified separately. If weights are not specified it produces the same output as mean.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np\r\na = np.array([5,6,7]) \r\nprint(a)\r\n#without weight same as mean\r\nprint(np.average(a))\r\n#with weight gives weighted average\r\nwt = np.array([8,2,3])\r\nprint(np.average(a, weights=wt))\r\n<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">[5 6 7]<br \/>\n6.0<br \/>\n5.615384615384615<\/div>\n<h3>NumPy Percentile Function<\/h3>\n<p>It has the following syntax:<br \/>\n<strong>numpy.percentile(input, q, axis)<\/strong><\/p>\n<p>The accepted parameters are:<\/p>\n<ul>\n<li><strong>input:<\/strong> it is the input array.<\/li>\n<li><strong>q:<\/strong> it is the percentile which it calculates of the array elements between 0-100.<\/li>\n<li><strong>axis:<\/strong> it specifies the axis along which calculation is performed.<\/li>\n<\/ul>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">  \r\na = np.array([2,10,20])  \r\nprint(a)  \r\nprint(np.percentile(a,10,0))<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">[ 2 10 20]<br \/>\n3.6<\/div>\n<h3>NumPy Peak-to-Peak Function<\/h3>\n<p><strong>NumPy np.ptp()<\/strong> function is useful to determine the range of values along an axis.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\"> \r\na = np.array([[2,10,20],[6,10,60]])  \r\nprint(np.ptp(a,0))<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">[4 0 40]<\/div>\n<h2>Summary<\/h2>\n<p>These functions are useful for performing statistical calculations on the array elements. NumPy statistical functions further increase the scope of the use of the NumPy library. The objective of statistical functions is to eliminate the need to remember lengthy formulas. It makes processing more user-friendly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Statistics is concerned with collecting and then analyzing that data. It includes methods for collecting the samples, describing the data, and then concluding that data. NumPy is the fundamental package for scientific calculations and&#46;&#46;&#46;<\/p>\n","protected":false},"author":6,"featured_media":79429,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22401],"tags":[22658,22656,22657,22655],"class_list":["post-79315","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-numpy","tag-numpy-average-function","tag-numpy-peak-to-peak-function","tag-numpy-percentile-function","tag-numpy-statistical-functions"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>NumPy Statistical Functions with Examples - DataFlair<\/title>\n<meta name=\"description\" content=\"Learn about NumPy Statistical Functions - Max and Min functions, Mean, Median, Standard Deviation and Variance, Percentile, average, peak to peak etc.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/numpy-statistical-functions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"NumPy Statistical Functions with Examples - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Learn about NumPy Statistical Functions - Max and Min functions, Mean, Median, Standard Deviation and Variance, Percentile, average, peak to peak etc.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/numpy-statistical-functions\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-07-17T14:25:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-09T07:43:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Statistical-Functions.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"NumPy Statistical Functions with Examples - DataFlair","description":"Learn about NumPy Statistical Functions - Max and Min functions, Mean, Median, Standard Deviation and Variance, Percentile, average, peak to peak etc.","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:\/\/data-flair.training\/blogs\/numpy-statistical-functions\/","og_locale":"en_US","og_type":"article","og_title":"NumPy Statistical Functions with Examples - DataFlair","og_description":"Learn about NumPy Statistical Functions - Max and Min functions, Mean, Median, Standard Deviation and Variance, Percentile, average, peak to peak etc.","og_url":"https:\/\/data-flair.training\/blogs\/numpy-statistical-functions\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2020-07-17T14:25:49+00:00","article_modified_time":"2021-05-09T07:43:41+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Statistical-Functions.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/numpy-statistical-functions\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/numpy-statistical-functions\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89"},"headline":"NumPy Statistical Functions with Examples","datePublished":"2020-07-17T14:25:49+00:00","dateModified":"2021-05-09T07:43:41+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/numpy-statistical-functions\/"},"wordCount":534,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/numpy-statistical-functions\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Statistical-Functions.jpg","keywords":["numpy average function","Numpy peak to peak function","numpy percentile function","numpy statistical functions"],"articleSection":["NumPy Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/numpy-statistical-functions\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/numpy-statistical-functions\/","url":"https:\/\/data-flair.training\/blogs\/numpy-statistical-functions\/","name":"NumPy Statistical Functions with Examples - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/numpy-statistical-functions\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/numpy-statistical-functions\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Statistical-Functions.jpg","datePublished":"2020-07-17T14:25:49+00:00","dateModified":"2021-05-09T07:43:41+00:00","description":"Learn about NumPy Statistical Functions - Max and Min functions, Mean, Median, Standard Deviation and Variance, Percentile, average, peak to peak etc.","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/numpy-statistical-functions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/numpy-statistical-functions\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/numpy-statistical-functions\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Statistical-Functions.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Statistical-Functions.jpg","width":1200,"height":628,"caption":"NumPy Statistical Functions"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/numpy-statistical-functions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"NumPy Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/numpy\/"},{"@type":"ListItem","position":3,"name":"NumPy Statistical Functions with Examples"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"The DataFlair Team provides industry-driven content on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our expert educators focus on delivering value-packed, easy-to-follow resources for tech enthusiasts and professionals.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam2\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/79315","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=79315"}],"version-history":[{"count":4,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/79315\/revisions"}],"predecessor-version":[{"id":79437,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/79315\/revisions\/79437"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/79429"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=79315"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=79315"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=79315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}