

{"id":79316,"date":"2020-07-17T20:44:37","date_gmt":"2020-07-17T15:14:37","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=79316"},"modified":"2021-05-09T13:13:40","modified_gmt":"2021-05-09T07:43:40","slug":"numpy-linear-algebra","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/numpy-linear-algebra\/","title":{"rendered":"NumPy Linear Algebra and Matrix Functions"},"content":{"rendered":"<p>NumPy has a separate module for linear algebra. The module contains all the functions necessary for linear algebra. numpy.linalg is the package in NumPy for NumPy Linear Algebra. Linear Algebra is the branch of mathematics concerned with vector spaces and mapping amongst the spaces.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Linear-Algebra.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-79438\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Linear-Algebra.jpg\" alt=\"NumPy Linear Algebra\" width=\"1200\" height=\"628\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Linear-Algebra.jpg 1200w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Linear-Algebra-300x157.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Linear-Algebra-1024x536.jpg 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Linear-Algebra-150x79.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Linear-Algebra-768x402.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Linear-Algebra-520x272.jpg 520w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/a><\/p>\n<h2>NumPy Linear Algebra<\/h2>\n<p>Let us see various Matrix and Vector Products in NumPy:<\/p>\n<h3>Matrix and Vector Products<\/h3>\n<p>For matrix and vector computations it has the following functions:<\/p>\n<ul>\n<li><strong>dot()-<\/strong> it can calculate the dot product of two arrays<\/li>\n<li><strong>vdot()-<\/strong> it can calculate the dot product of two vectors<\/li>\n<li><strong>inner()-<\/strong> it can calculate the inner product of arrays<\/li>\n<li><strong>outer()-<\/strong> it can compute the outer products of two arrays<\/li>\n<li><strong>matmul()-<\/strong> it can determine the matrix multiplication of two arrays<\/li>\n<li><strong>det()-<\/strong> it can calculate determinant of a matrix<\/li>\n<li><strong>solve()-<\/strong> it can solve linear matrix equation<\/li>\n<li><strong>inv()-<\/strong> it can calculate the multiplicative inverse of the matrix<\/li>\n<li><strong>trace()-<\/strong> it calculates the sum of diagonal elements<\/li>\n<li><strong>rank()-<\/strong> it returns the rank of the matrix<\/li>\n<\/ul>\n<h3>NumPy dot and vdot functions<\/h3>\n<p>The dot function gives the dot product of two matrices. It is similar to matrix multiplication.<\/p>\n<p>The vdot function, on the other hand, is used for the dot product of two or more vectors. It is equivalent to the sum of the array elements.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np  \r\narr1 = np.array([[1,2],[3,4]])  \r\narr2 = np.array([[5,6],[7,8]])  \r\nprint(np.dot(arr1,arr2))  \r\nprint(np.vdot(arr1,arr2))\r\n<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">[[19 22]<br \/>\n[43 50]]<br \/>\n70<\/div>\n<h3>NumPy inner and outer functions<\/h3>\n<p>The <strong>inner<\/strong> function gives the sum of the product of the inner elements of the array. In the case of n-dimensional arrays, it gives the output over the last axis only.<\/p>\n<p>The <strong>outer<\/strong> function returns the sum of the product of the outer array elements.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np  \r\na = np.array([1,2,3])  \r\nb = np.array([7,8,9])  \r\n#inner function\r\ni=np.inner(a,b)\r\nprint(i)\r\n#outer function\r\no= np.outer(a,b)  \r\nprint(o)    \r\n<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">50<br \/>\n[[ 7 8 9]<br \/>\n[14 16 18]<br \/>\n[21 24 27]]<\/div>\n<h3>NumPy Matrix Functions<\/h3>\n<p><strong>1.<\/strong> The <strong>matrix multiplication<\/strong> function gives the multiplication of two matrices of the same shape. If the shape is not the same, then it gives error.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np  \r\na = np.array([4,5,6])  \r\nb = np.array([7,8,9])  \r\n#matrix multiplication function\r\ni=np.matmul(a,b)\r\nprint(i)\r\n<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">122<\/div>\n<p><strong>2.<\/strong> The <strong>determinant<\/strong> function uses the diagonal elements for determinant calculation.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np  \r\na = np.array(([4,5],[2,3])) \r\n#determinant function\r\nm=(np.linalg.det(a))\r\nprint(m)\r\n<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">2.0<\/div>\n<p><strong>3.<\/strong> The <strong>solve<\/strong> function is used to evaluate quadratic equations.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np  \r\na = np.array([[7,8],[5,6]])  \r\nb = np.array([[1,2],[3,4]])  \r\n#solve function\r\ns=np.linalg.solve(a, b)\r\nprint(s)<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">[[ -9. -10.]<br \/>\n[ 8. 9.]]<\/div>\n<p><strong>4.<\/strong> The <strong>inverse<\/strong> function returns the multiplicative inverse of the input matrix.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np  \r\na = np.array([[7,8],[5,6]])  \r\n #inverse function\r\ninver=np.linalg.inv(a)\r\nprint(inver)<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">[[ 3. -4. ]<br \/>\n[-2.5 3.5]]<\/div>\n<p><strong>5.<\/strong> The <strong>trace<\/strong> function returns the sum of all the diagonal values<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np  \r\na = np.array([[1,2],[3,4]])  \r\nprint(np.trace(a))<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">5<\/div>\n<p><strong>6.<\/strong> The <strong>rank<\/strong> function returns the rank of the matrix<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np  \r\na = np.array([[1,2],[3,4]])  \r\nprint(np.linalg.matrix_rank(a)) \r\n \r\n<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">2<\/div>\n<h3>NumPy Matrix Eigenvalue Functions<\/h3>\n<p>This function computes complex conjugate or real symmetric matrices. The function returns two objects for eigenvalues and eigenvectors respectively. The output consists of:<\/p>\n<ul>\n<li>A 1-D array object containing of <strong>eigenvalues<\/strong><\/li>\n<li>A 2-D square matrix containing the <strong>eigenvectors<\/strong> for each column.<\/li>\n<\/ul>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np\r\nA = np.array([[1,2,3],[3,2,-1],[4,0,-4]])\r\n#function to calculate eigenvalues and vector\r\nval, vect = np.linalg.eig(A)\r\nprint(val)\r\nprint(vect)\r\n \r\n<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">[-6.05798024 4.4666812 0.59129904]<br \/>\n[[ 0.44047381 -0.66326042 0.49735565]<br \/>\n[-0.27023519 -0.67962995 -0.75158903]<br \/>\n[-0.85612836 -0.31335084 0.43330277]]<\/div>\n<p><strong>1.<\/strong> The <strong>np.linspace(, ,)<\/strong> function outputs an equally spaced array. We use it for array generation.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">np.linspace(0, 10, num=4)<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">array([ 0. , 3.33333333, 6.66666667, 10. ])<\/div>\n<p><strong>2.<\/strong> The <strong>np.logspace()<\/strong> return numbers spaced evenly on a log scale. We use it for array generation.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">np.logspace(0, 10, num=4)<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">array([1.00000000e+00, 2.15443469e+03, 4.64158883e+06, 1.00000000e+10])<\/div>\n<p><strong>3.<\/strong> For 1-D arrays the most common function is <strong>np.arange(..),<\/strong> passing any value create an array from 0 to that number.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np\r\n            array=np.arange(20)\r\n            array<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11,<br \/>\n12, 13, 14, 15, 16, 17, 18, 19])<\/div>\n<p>We can check the dimensions by using array.shape.<\/p>\n<p><strong>4.<\/strong> The <strong>np.asarray()<\/strong> is to convert the input to an array. It is helpful in array creation.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">np.asarray((1,2,3,4))<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">array([1, 2, 3, 4])<\/div>\n<h2>Summary<\/h2>\n<p>NumPy linear algebra functions are beneficial for advanced scientific computations. It has functions and modules for matrix and vector processing. It is useful for concepts like eigenvalues and vectors evaluation. These functions make use of the NumPy functionalities to its full capacity.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>NumPy has a separate module for linear algebra. The module contains all the functions necessary for linear algebra. numpy.linalg is the package in NumPy for NumPy Linear Algebra. Linear Algebra is the branch of&#46;&#46;&#46;<\/p>\n","protected":false},"author":6,"featured_media":79438,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22401],"tags":[22660,22662,22664,22661,22659,22663],"class_list":["post-79316","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-numpy","tag-linear-algebra-in-numpy","tag-numpy-dot-and-vdot-functions","tag-numpy-eigenvalue-functions","tag-numpy-inner-and-outer-functions","tag-numpy-linear-algebra","tag-numpy-matrix-and-vector-functions"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>NumPy Linear Algebra and Matrix Functions - DataFlair<\/title>\n<meta name=\"description\" content=\"Learn about NumPy Linear Algebra - Various Matrix and Vector Functions with their syntax and examples, Matrix Eigenvalue functions 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-linear-algebra\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"NumPy Linear Algebra and Matrix Functions - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Learn about NumPy Linear Algebra - Various Matrix and Vector Functions with their syntax and examples, Matrix Eigenvalue functions etc.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/numpy-linear-algebra\/\" \/>\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-17T15:14:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-09T07:43:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Linear-Algebra.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=\"4 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"NumPy Linear Algebra and Matrix Functions - DataFlair","description":"Learn about NumPy Linear Algebra - Various Matrix and Vector Functions with their syntax and examples, Matrix Eigenvalue functions 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-linear-algebra\/","og_locale":"en_US","og_type":"article","og_title":"NumPy Linear Algebra and Matrix Functions - DataFlair","og_description":"Learn about NumPy Linear Algebra - Various Matrix and Vector Functions with their syntax and examples, Matrix Eigenvalue functions etc.","og_url":"https:\/\/data-flair.training\/blogs\/numpy-linear-algebra\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2020-07-17T15:14:37+00:00","article_modified_time":"2021-05-09T07:43:40+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Linear-Algebra.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":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/numpy-linear-algebra\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/numpy-linear-algebra\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89"},"headline":"NumPy Linear Algebra and Matrix Functions","datePublished":"2020-07-17T15:14:37+00:00","dateModified":"2021-05-09T07:43:40+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/numpy-linear-algebra\/"},"wordCount":552,"commentCount":1,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/numpy-linear-algebra\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Linear-Algebra.jpg","keywords":["Linear Algebra in NumPy","Numpy dot and vdot functions","Numpy Eigenvalue functions","Numpy Inner and Outer functions","NumPy Linear Algebra","Numpy Matrix and Vector functions"],"articleSection":["NumPy Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/numpy-linear-algebra\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/numpy-linear-algebra\/","url":"https:\/\/data-flair.training\/blogs\/numpy-linear-algebra\/","name":"NumPy Linear Algebra and Matrix Functions - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/numpy-linear-algebra\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/numpy-linear-algebra\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Linear-Algebra.jpg","datePublished":"2020-07-17T15:14:37+00:00","dateModified":"2021-05-09T07:43:40+00:00","description":"Learn about NumPy Linear Algebra - Various Matrix and Vector Functions with their syntax and examples, Matrix Eigenvalue functions etc.","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/numpy-linear-algebra\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/numpy-linear-algebra\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/numpy-linear-algebra\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Linear-Algebra.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Linear-Algebra.jpg","width":1200,"height":628,"caption":"NumPy Linear Algebra"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/numpy-linear-algebra\/#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 Linear Algebra and Matrix Functions"}]},{"@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\/79316","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=79316"}],"version-history":[{"count":2,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/79316\/revisions"}],"predecessor-version":[{"id":79440,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/79316\/revisions\/79440"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/79438"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=79316"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=79316"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=79316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}