

{"id":79306,"date":"2020-07-25T10:51:44","date_gmt":"2020-07-25T05:21:44","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=79306"},"modified":"2021-05-09T13:13:37","modified_gmt":"2021-05-09T07:43:37","slug":"numpy-mathematical-functions","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/numpy-mathematical-functions\/","title":{"rendered":"NumPy Mathematical Functions &#8211; Trigonometric, Exponential, Hyperbolic"},"content":{"rendered":"<p>NumPy consists of a large number of built-in mathematical functions that can solve mathematical problems. The in-built math module is imported for mathematical calculations.<\/p>\n<p>It can perform trigonometric operations, rounding functions and can also handle complex numbers. NumPy mathematical functions include methods for exponential, logarithmic, and hyperbolic functions.<\/p>\n<h2>Trigonometric Functions in NumPy<\/h2>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/Trigonometric-Functions.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-79786\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/Trigonometric-Functions.jpg\" alt=\"NumPy Trigonometric Functions\" width=\"560\" height=\"480\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/Trigonometric-Functions.jpg 560w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/Trigonometric-Functions-300x257.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/Trigonometric-Functions-150x129.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/Trigonometric-Functions-520x446.jpg 520w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/a><\/p>\n<p>NumPy contains built-in trigonometric functions that can calculate and return the sine, cosine, and tangent. It returns the values in radian for the given angle. It also includes functions to calculate the inverse of sine, cosine, and tangent.<\/p>\n<p><strong>1. np.sin()-<\/strong> It performs trigonometric sine calculation element-wise.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np  \r\narr = np.array([0, 30, 60, 90, 120, 150, 180]) \r\n#sine function  \r\n print(np.sin(arr * np.pi \/ 180))\r\n<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">[0.00000000e+00 5.00000000e-01 8.66025404e-01 1.00000000e+00<br \/>\n8.66025404e-01 5.00000000e-01 1.22464680e-16]<\/div>\n<p><strong>2. np.cos()-<\/strong> It performs trigonometric cosine calculation element-wise.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np  \r\narr = np.array([0, 30, 60, 90, 120, 150, 180])\r\n#cosine function  \r\nprint(np.cos(arr * np.pi \/ 180))<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">[ 1.00000000e+00 8.66025404e-01 5.00000000e-01 6.12323400e-17<br \/>\n-5.00000000e-01 -8.66025404e-01 -1.00000000e+00]<\/div>\n<p><strong>3. np.tan()-<\/strong> It performs trigonometric tangent calculation element-wise.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np  \r\narr = np.array([0, 30, 60, 90, 120, 150, 180])\r\n#tangent function  \r\nprint(np.tan(arr * np.pi \/ 180)) \r\n\r\n<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">[ 0.00000000e+00 5.77350269e-01 1.73205081e+00 1.63312394e+16<br \/>\n-1.73205081e+00 -5.77350269e-01 -1.22464680e-16]<\/div>\n<p><strong>4. np.arcsin()-<\/strong> It performs trigonometric inverse sine element-wise.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np  \r\narr = np.array([1,2,3])\r\n#inverse sine function\r\nprint(np.arcsin(arr * np.pi \/ 180)) \r\n<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">[0.01745418 0.03491368 0.05238383]<\/div>\n<p><strong>5.\u00a0 np.arccos()-<\/strong> It performs trigonometric inverse of cosine element-wise.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np  \r\narr = np.array([1,2,3])\r\n#inverse cosine function\r\nprint(np.arccos(arr * np.pi \/ 180))<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">[1.55334215 1.53588265 1.5184125 ]<\/div>\n<p><strong>6. np.arctan()-<\/strong> It performs trigonometric inverse of tangent element-wise.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np  \r\narr = np.array([1,2,3])\r\n#inverse tangent function\r\nprint(np.arctan(arr * np.pi \/ 180))<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">[0.01745152 0.03489242 0.05231211]<\/div>\n<h2>NumPy Hyperbolic Functions<\/h2>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/Hyperbolic-Functions.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-79784\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/Hyperbolic-Functions.jpg\" alt=\"NumPy Hyperbolic Functions\" width=\"402\" height=\"568\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/Hyperbolic-Functions.jpg 402w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/Hyperbolic-Functions-212x300.jpg 212w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/Hyperbolic-Functions-106x150.jpg 106w\" sizes=\"auto, (max-width: 402px) 100vw, 402px\" \/><\/a><\/p>\n<p>There are functions for calculation of hyperbolic functions which are the analogs of the trigonometric functions. There are functions for the calculation of hyperbolic and inverse hyperbolic sine, cosine, and tangent.<\/p>\n<p><strong>1. np.sinh()-<\/strong> This function returns the hyperbolic sine of the array elements.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np  \r\narr = np.array([30,60,90])\r\n#hyperbolic  sine function\r\nprint(np.sinh(arr * np.pi \/ 180)) \r\n<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">[0.54785347 1.24936705 2.3012989 ]<\/div>\n<p><strong>2. np.cosh()-<\/strong> This function returns the hyperbolic cosine of the array elements.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np  \r\narr = np.array([30,60,90])\r\n#hyperbolic  cosine function\r\nprint(np.cosh(arr * np.pi \/ 180)) \r\n<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">[1.14023832 1.60028686 2.50917848]<\/div>\n<p><strong>3. np.tanh()-<\/strong> This function returns the hyperbolic tan of the array elements.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np  \r\narr = np.array([30,60,90])\r\n#hyperbolic  tangent function\r\nprint(np.tanh(arr * np.pi \/ 180)) \r\n \r\n<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">[0.48047278 0.78071444 0.91715234]<\/div>\n<p><strong>4. np.arcsinh()-<\/strong> This function returns the hyperbolic inverse sine of the array elements.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np  \r\narr = np.array([150,60,90])\r\n#hyperbolic inverse sine function\r\nprint(np.arcsinh(arr * np.pi \/ 180)) \r\n<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">[1.69018317 0.91435666 1.23340312]<\/div>\n<p><strong>5. np.arccosh()-<\/strong> This function returns the hyperbolic inverse cosine of the array elements.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np  \r\narr = np.array([150,60,90])\r\n#hyperbolic inverse cosine function\r\nprint(np.arccosh(arr * np.pi \/ 180)) \r\n<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">[1.61690509 0.30604211 1.02322748]<\/div>\n<p><strong>6. np.arctanh()-<\/strong> This function returns the hyperbolic inverse tan of the array elements.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np  \r\narr = np.array([1,2,3])\r\n#hyperbolic inverse tangent function\r\nprint(np.arctanh(arr * np.pi \/ 180)) \r\n<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">[0.01745507 0.03492077 0.05240781]<\/div>\n<h2>NumPy Rounding Functions<\/h2>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/Rounding-Functions-in-NumPy.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-79785\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/Rounding-Functions-in-NumPy.jpg\" alt=\"Rounding Functions in NumPy\" width=\"510\" height=\"424\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/Rounding-Functions-in-NumPy.jpg 510w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/Rounding-Functions-in-NumPy-300x249.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/Rounding-Functions-in-NumPy-150x125.jpg 150w\" sizes=\"auto, (max-width: 510px) 100vw, 510px\" \/><\/a><\/p>\n<p>There are various rounding functions that are used to round decimal float numbers to a particular precision of decimal numbers. Let&#8217;s discuss them below:<\/p>\n<p><strong>1. np.around()-<\/strong> This function is used to round off a decimal number to desired number of positions. The function takes two parameters: the input number and the precision of decimal places.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np  \r\narr = np.array([20.8999,67.89899,54.63409])  \r\nprint(np.around(arr,1))\r\n\r\n<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">[20.9 67.9 54.6]<\/div>\n<p><strong>2. np.floor()-<\/strong> This function returns the floor value of the input decimal value. Floor value is the largest integer number less than the input value.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np  \r\narr = np.array([20.8,67.99,54.09])  \r\nprint(np.floor(arr))\r\n<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">[20. 67. 54.]<\/div>\n<p><strong>3. np.ceil()-<\/strong> This function returns the ceiling value of the input decimal value. Ceiling value is the smallest integer number greater than the input value.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np  \r\narr = np.array([20.8,67.99,54.09])  \r\nprint(np.ceil(arr))\r\n\r\n<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">[21. 68. 55.]<\/div>\n<h2>NumPy Exponential and Logarithmic Functions<\/h2>\n<p><strong>1. np.exp()-<\/strong> This function calculates the exponential of the input array elements.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np  \r\narr = np.array([1,8,4])\r\n#exponential function\r\nprint(np.exp(arr))\r\n\r\n<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">[2.71828183e+00 2.98095799e+03 5.45981500e+01]<\/div>\n<p><strong>2. np.log()-<\/strong> This function calculates the natural log of the input array elements. Natural Logarithm of a value is the inverse of its exponential value.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np  \r\narr = np.array([6,8,4])  \r\n#logarithmic funtion\r\nprint(np.log(arr))\r\n<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">[1.79175947 2.07944154 1.38629436]<\/div>\n<h2>NumPy Complex Functions<\/h2>\n<p><strong>1. np.isreal()-<\/strong> This function returns the output of a test for real numbers.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np  \r\narr = np.array([1+2j])  \r\n#real test funtion\r\nprint(np.isreal(arr))\r\n<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">[False]<\/div>\n<p><strong>2. np.conj()-<\/strong> This function is useful for calculation of conjugate of complex numbers.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import numpy as np  \r\narr = np.array([1+2j])  \r\n#conjugate funtion\r\nprint(np.conj(arr))\r\n \r\n<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">[1.-2.j]<\/div>\n<h2>Summary<\/h2>\n<p>The math module contains a wide range of NumPy functions functions for mathematical operations. Python supports all types of math functions. It is very useful for creating programs with complex calculations. This module further increases the capabilities of NumPy.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>NumPy consists of a large number of built-in mathematical functions that can solve mathematical problems. The in-built math module is imported for mathematical calculations. It can perform trigonometric operations, rounding functions and can also&#46;&#46;&#46;<\/p>\n","protected":false},"author":6,"featured_media":79783,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22401],"tags":[22752,22751,22749,22747,22750,22748],"class_list":["post-79306","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-numpy","tag-numpy-complex-functions","tag-numpy-exponential-and-logarithmic-functions","tag-numpy-hyperbolic-functions","tag-numpy-mathematical-functions","tag-numpy-rounding-functions","tag-numpy-trigonometric-functions"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>NumPy Mathematical Functions - Trigonometric, Exponential, Hyperbolic - DataFlair<\/title>\n<meta name=\"description\" content=\"Learn about NumPy Mathematical functions like Trigonometric, Hyperbolic, Rounding Functions, Complex functions and Exponential &amp; Logarithmic functions\" \/>\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-mathematical-functions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"NumPy Mathematical Functions - Trigonometric, Exponential, Hyperbolic - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Learn about NumPy Mathematical functions like Trigonometric, Hyperbolic, Rounding Functions, Complex functions and Exponential &amp; Logarithmic functions\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/numpy-mathematical-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-25T05:21:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-09T07:43:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Mathematical-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=\"5 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"NumPy Mathematical Functions - Trigonometric, Exponential, Hyperbolic - DataFlair","description":"Learn about NumPy Mathematical functions like Trigonometric, Hyperbolic, Rounding Functions, Complex functions and Exponential & Logarithmic functions","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-mathematical-functions\/","og_locale":"en_US","og_type":"article","og_title":"NumPy Mathematical Functions - Trigonometric, Exponential, Hyperbolic - DataFlair","og_description":"Learn about NumPy Mathematical functions like Trigonometric, Hyperbolic, Rounding Functions, Complex functions and Exponential & Logarithmic functions","og_url":"https:\/\/data-flair.training\/blogs\/numpy-mathematical-functions\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2020-07-25T05:21:44+00:00","article_modified_time":"2021-05-09T07:43:37+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Mathematical-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":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/numpy-mathematical-functions\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/numpy-mathematical-functions\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89"},"headline":"NumPy Mathematical Functions &#8211; Trigonometric, Exponential, Hyperbolic","datePublished":"2020-07-25T05:21:44+00:00","dateModified":"2021-05-09T07:43:37+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/numpy-mathematical-functions\/"},"wordCount":547,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/numpy-mathematical-functions\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Mathematical-Functions.jpg","keywords":["numpy complex functions","numpy exponential and logarithmic functions","numpy hyperbolic functions","NumPy Mathematical Functions","Numpy rounding functions","Numpy trigonometric functions"],"articleSection":["NumPy Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/numpy-mathematical-functions\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/numpy-mathematical-functions\/","url":"https:\/\/data-flair.training\/blogs\/numpy-mathematical-functions\/","name":"NumPy Mathematical Functions - Trigonometric, Exponential, Hyperbolic - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/numpy-mathematical-functions\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/numpy-mathematical-functions\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Mathematical-Functions.jpg","datePublished":"2020-07-25T05:21:44+00:00","dateModified":"2021-05-09T07:43:37+00:00","description":"Learn about NumPy Mathematical functions like Trigonometric, Hyperbolic, Rounding Functions, Complex functions and Exponential & Logarithmic functions","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/numpy-mathematical-functions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/numpy-mathematical-functions\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/numpy-mathematical-functions\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Mathematical-Functions.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2020\/07\/NumPy-Mathematical-Functions.jpg","width":1200,"height":628,"caption":"NumPy Mathematical Functions"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/numpy-mathematical-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 Mathematical Functions &#8211; Trigonometric, Exponential, Hyperbolic"}]},{"@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\/79306","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=79306"}],"version-history":[{"count":5,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/79306\/revisions"}],"predecessor-version":[{"id":93071,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/79306\/revisions\/93071"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/79783"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=79306"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=79306"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=79306"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}