{"id":5762,"date":"2020-12-03T18:11:16","date_gmt":"2020-12-03T12:41:16","guid":{"rendered":"http:\/\/www.pythonpool.com\/?p=5762"},"modified":"2023-12-30T16:21:47","modified_gmt":"2023-12-30T10:51:47","slug":"numpy-vstack","status":"publish","type":"post","link":"https:\/\/www.pythonpool.com\/numpy-vstack\/","title":{"rendered":"Numpy Vstack in Python For Different Arrays"},"content":{"rendered":"\n<p>The numpy module in python consists of so many interesting functions. One such fascinating and time-saving method is the numpy vstack() function. Many times we want to <a href=\"http:\/\/www.pythonpool.com\/python-stack\/\" target=\"_blank\" rel=\"noreferrer noopener\">stack<\/a> different arrays into one array without losing the value. And that too in one line of code. So, to solve this problem, there are two functions available in numpy vstack() and hstack(). Here &#8216;v&#8217; means &#8216;Vertical,&#8217; and &#8216;h&#8217; means &#8216;Horizontal.&#8217;<\/p>\n\n\n\n<p>In this particular article, we will discuss in-depth the <strong>Numpy vstack()<\/strong> function. The numpy.vstack() function in Python is used to stack or pile the sequence of input arrays vertically (row-wise) and make them a single array. You can use vstack() very effectively up to three-dimensional arrays. Enough talk now; let&#8217;s move directly to the usage and examples from the basics.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_74 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #990303;color:#990303\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #990303;color:#990303\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.pythonpool.com\/numpy-vstack\/#Syntax\" >Syntax<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.pythonpool.com\/numpy-vstack\/#Parameters\" >Parameters<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.pythonpool.com\/numpy-vstack\/#Return_Value\" >Return Value<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.pythonpool.com\/numpy-vstack\/#Examples_to_Simplify_Numpy_Vstack\" >Examples to Simplify Numpy Vstack<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.pythonpool.com\/numpy-vstack\/#Example_1_Basic_Case_to_Learn_the_Working_of_Numpy_Vstack\" >Example 1: Basic Case to Learn the Working of Numpy Vstack<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.pythonpool.com\/numpy-vstack\/#Example_2_Combining_Three_1-D_Arrays_Vertically_Using_numpyvstack_function\" >Example 2: Combining Three 1-D Arrays Vertically Using numpy.vstack function<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.pythonpool.com\/numpy-vstack\/#Example_3_Combining_2-D_Numpy_Arrays_With_Numpyvstack\" >Example 3: Combining 2-D Numpy Arrays With Numpy.vstack<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.pythonpool.com\/numpy-vstack\/#Example_4_Stacking_3-D_Numpy_Array_using_vstack_Function\" >Example 4: Stacking 3-D Numpy Array using vstack Function<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.pythonpool.com\/numpy-vstack\/#Can_We_Combine_Numpy_Arrays_with_Different_Shapes_Using_Vstack\" >Can We Combine Numpy Arrays with Different Shapes Using Vstack<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.pythonpool.com\/numpy-vstack\/#Difference_Between_NpVstack_and_NpConcatenate\" >Difference Between Np.Vstack() and Np.Concatenate()<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.pythonpool.com\/numpy-vstack\/#Difference_Between_numpy_vstack_and_hstack\" >Difference Between numpy vstack() and hstack()<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.pythonpool.com\/numpy-vstack\/#Do_the_Number_of_Columns_and_Rows_Needs_to_Be_Same\" >Do the Number of Columns and Rows Needs to Be Same?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/www.pythonpool.com\/numpy-vstack\/#Conclusion\" >Conclusion<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/www.pythonpool.com\/numpy-vstack\/#Trending_Python_Articles\" >Trending Python Articles<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\" id=\"h-syntax\"><span class=\"ez-toc-section\" id=\"Syntax\"><\/span>Syntax<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\"><em>numpy.vstack(tup)<\/em><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-parameters\"><span class=\"ez-toc-section\" id=\"Parameters\"><\/span>Parameters<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th><strong>Name<\/strong><\/th><th><strong>Description<\/strong><\/th><\/tr><\/thead><tbody><tr><td>tup<\/td><td>The sequence of nd-array. The collection of input arrays is the only thing you need to provide as an input&nbsp;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-note\">Note<\/h3>\n\n\n\n<p>We need only one argument for this function: &#8216;tup.&#8217; Tup is known as a tuple containing arrays to be stacked. This parameter is a required parameter, and we have to mandatory pass a value.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-return-value\"><span class=\"ez-toc-section\" id=\"Return_Value\"><\/span>Return Value<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Stacked Array: The array (nd-array) formed by stacking the passed arrays.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-examples-to-simplify-numpy-vstack\"><span class=\"ez-toc-section\" id=\"Examples_to_Simplify_Numpy_Vstack\"><\/span>Examples to Simplify Numpy Vstack<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Now, we have seen the syntax, required parameters, and return value of the function <strong>numpy stack<\/strong>. Let&#8217;s move to the examples section. Here we will start from the very basic case and after that, we will increase the level of examples gradually.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-example-1-basic-case-to-learn-the-working-of-numpy-vstack\"><span class=\"ez-toc-section\" id=\"Example_1_Basic_Case_to_Learn_the_Working_of_Numpy_Vstack\"><\/span>Example 1: Basic Case to Learn the Working of Numpy Vstack<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In example 1, we will simply initialize, declare two numpy arrays and then make their vertical stack using vstack function.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nimport numpy as np\nx = np.array(&#x5B;0, 1, 2])\nprint (&quot;First Input array : \\n&quot;, x)  \ny = np.array(&#x5B;3, 4, 5])\nprint (&quot;Second Input array : \\n&quot;, y)  \nres = np.vstack((x,y))\nprint (&quot;Vertically stacked array:\\n &quot;, res) \n<\/pre><\/div>\n\n\n<p><strong>Output:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>First Input array :\n &#91;0 1 2]\nSecond Input array :\n &#91;3 4 5]\nVertically stacked array:\n &#91;&#91;0 1 2]\n &#91;3 4 5]]<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-explanation\">Explanation:<\/h3>\n\n\n\n<p>In the above example, we stacked two numpy arrays vertically (row-wise). Firstly we imported the numpy module. Following the import,<em> <\/em>we initialized, declared, and stored two numpy arrays in variable &#8216;x and y&#8217;.  After that, with the np.vstack() function, we piled or stacked the two 1-D numpy arrays.<\/p>\n\n\n\n<p>Here please note that the stack will be done vertically (row-wisestack). Also, both arrays must have the same shape along all but the first axis.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-example-2-combining-three-1-d-arrays-vertically-using-numpy-vstack-function\"><span class=\"ez-toc-section\" id=\"Example_2_Combining_Three_1-D_Arrays_Vertically_Using_numpyvstack_function\"><\/span>Example 2: Combining Three 1-D Arrays Vertically Using numpy.vstack function<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Let&#8217;s move to the second example here we will take three 1-D arrays and combine them into one single <a href=\"https:\/\/en.wikipedia.org\/wiki\/Array_data_structure\" target=\"_blank\" rel=\"noreferrer noopener\">array<\/a>.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nimport numpy as np\nx = np.array(&#x5B;0, 1])\nprint (&quot;First Input array : \\n&quot;, x)  \ny = np.array(&#x5B;2, 3])\nprint (&quot;Second Input array : \\n&quot;, y)  \nz = np.array(&#x5B;4, 5])\nprint (&quot;Third Input array : \\n&quot;, z)  \nres = np.vstack((x, y, z))\nprint (&quot;Vertically stacked array:\\n &quot;, res)\n<\/pre><\/div>\n\n\n<p><strong>Output:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> &#91;&#91;0 1]\n &#91;2 3]\n &#91;4 5]]<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-explanation-1\">Explanation<\/h3>\n\n\n\n<p>In the above example we have done all the things similar to the example 1 except adding one extra array. In the example 1 we can see there are two arrays. But in this example we have used three arrays &#8216;x, y, z&#8217;. And with the help of np.vstack() we joined them together row-wise (vertically).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-example-3-combining-2-d-numpy-arrays-with-numpy-vstack\"><span class=\"ez-toc-section\" id=\"Example_3_Combining_2-D_Numpy_Arrays_With_Numpyvstack\"><\/span>Example 3: Combining 2-D Numpy Arrays With Numpy.vstack<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nimport numpy as np\nx = np.array(&#x5B;&#x5B;0, 1], &#x5B;2, 3]])\nprint (&quot;First Input array : \\n&quot;, x)  \ny = np.array(&#x5B;&#x5B;4, 5], &#x5B;6, 7]])\nprint (&quot;Second Input array : \\n&quot;, y) \nres = np.vstack((x, y))\nprint (&quot;Vertically stacked array:\\n &quot;, res)\n<\/pre><\/div>\n\n\n<p><strong>Output:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> &#91;&#91;0 1]\n &#91;2 3]\n &#91;4 5]\n &#91;6 7]]<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-explanation-2\">Explanation:<\/h3>\n\n\n\n<p>In the above example, we have initialized and declared two 2-D arrays. And we have stored them in two variables, &#8216;x,y&#8217; respectively. After storing the variables in two different arrays, we used the function to join the two 2-D arrays and make them one single 2-d array. Here we need to make sure that the shape of both the input arrays should be the same. If the shapes are different, then we will get a value error. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-example-4-stacking-3-d-numpy-array-using-vstack-function\"><span class=\"ez-toc-section\" id=\"Example_4_Stacking_3-D_Numpy_Array_using_vstack_Function\"><\/span>Example 4: Stacking 3-D Numpy Array using vstack Function<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nimport numpy as np\nx = np.array(&#x5B;&#x5B;&#x5B;1, 2], &#x5B;3, 4]], &#x5B;&#x5B;5, 6], &#x5B;7, 8]]])\nprint (&quot;First Input array : \\n&quot;, x)  \ny = np.array(&#x5B;&#x5B;&#x5B;9, 10], &#x5B;11, 12]], &#x5B;&#x5B;13, 14], &#x5B;15, 16]]])\nprint (&quot;Second Input array : \\n&quot;, y) \nres = np.vstack((x, y))\nprint (&quot;Vertically stacked array:\\n &quot;, res)\n<\/pre><\/div>\n\n\n<p><strong>Output:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>First Input array : \n &#91;&#91;&#91;1 2]\n  &#91;3 4]]\n\n &#91;&#91;5 6]\n  &#91;7 8]]]\nSecond Input array :\n &#91;&#91;&#91; 9 10]\n  &#91;11 12]]\n\n &#91;&#91;13 14]\n  &#91;15 16]]]\nVertically stacked array:\n  &#91;&#91;&#91; 1  2]\n  &#91; 3  4]]\n\n &#91;&#91; 5  6]\n  &#91; 7  8]]\n\n &#91;&#91; 9 10]\n  &#91;11 12]]\n\n &#91;&#91;13 14]\n  &#91;15 16]]]<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-explanation-3\">Explanation<\/h3>\n\n\n\n<p>We can use this function for stacking or combining a 3-D array vertically (row-wise). Instead of a 1-D array or a 2-D array in the above example, we have declared and initialized two 3-D arrays. After initializing, we have stored them in two variables, <strong>&#8216;x and y&#8217;<\/strong> respectively. Following the storing part, we have used the function to stack the 3-D array in a vertical manner (row-wise).<\/p>\n\n\n\n<p><strong>Note: <\/strong>The shape of the input arrays should be same.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-can-we-combine-numpy-arrays-with-different-shapes-using-vstack\"><span class=\"ez-toc-section\" id=\"Can_We_Combine_Numpy_Arrays_with_Different_Shapes_Using_Vstack\"><\/span>Can We Combine Numpy Arrays with Different Shapes Using Vstack<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p><strong>The simple one word answer is No.<\/strong> Let&#8217; prove it through one of the example.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nimport numpy as np\nx = np.array(&#x5B;0, 1])\nprint (&quot;First Input array : \\n&quot;, x)  \ny = np.array(&#x5B;3, 4, 5])\nprint (&quot;Second Input array : \\n&quot;, y)  \nres = np.vstack((x,y))\nprint (&quot;Vertically stacked array:\\n &quot;, res) \n<\/pre><\/div>\n\n\n<p><strong>Output:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ValueError: all the input array dimensions except for the concatenation axis must match exactly<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-explanation-4\">Explanation:<\/h3>\n\n\n\n<p>In the above case we get a value error. Here firstly we have imported the required module. After that, we have initialized two arrays and stored them in two different variables. Here the point to be noted is that in the variable &#8216;x&#8217; the array has two elements. But in the variable &#8216;y&#8217; the array has three elements. So, we can see the shape of both the arrays is not the same. Which is the basic requirement, while working with this function. That&#8217;s why we get a value error.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-difference-between-np-vstack-and-np-concatenate\"><span class=\"ez-toc-section\" id=\"Difference_Between_NpVstack_and_NpConcatenate\"><\/span>Difference Between Np.Vstack() and Np.Concatenate()<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>NumPy concatenate is similar to a more flexible model of np.vstack. NumPy concatenate also unites together NumPy arrays, but it might combine arrays collectively either vertically or even horizontally.<\/p>\n\n\n\n<p>So NumPy concatenate gets the capacity to unite arrays together like np.vstack plus np.hstack. How np.concatenate acts depends on how you utilize the axis parameter from the syntax.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-difference-between-numpy-vstack-and-hstack\"><span class=\"ez-toc-section\" id=\"Difference_Between_numpy_vstack_and_hstack\"><\/span>Difference Between numpy vstack() and hstack()<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p><a href=\"http:\/\/www.pythonpool.com\/numpy-hstack\/\" target=\"_blank\" rel=\"noreferrer noopener\">NumPy hstack<\/a> and NumPy vstack are alike because they both unite NumPy arrays together. <strong>The significant distinction is that <a href=\"http:\/\/www.pythonpool.com\/numpy-hstack\/\" target=\"_blank\" rel=\"noreferrer noopener\">np.hstack<\/a> unites NumPy arrays horizontally and np. vstack unites arrays vertically.<\/strong><\/p>\n\n\n\n<p>Aside from that however, the syntax and behavior is quite similar.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-do-the-number-of-columns-and-rows-needs-to-be-same\"><span class=\"ez-toc-section\" id=\"Do_the_Number_of_Columns_and_Rows_Needs_to_Be_Same\"><\/span>Do the Number of Columns and Rows Needs to Be Same?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p><strong><b>R<\/b>ows:<\/strong> No, if you use NumPy vstack, the input arrays may have a different number of rows.<br><strong>Columns:<\/strong> If you use NumPy vstack, the input arrays have to possess exactly the identical amount of columns.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-conclusion\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In this article, we have learned, different facets like syntax, functioning, and cases of this vstack in detail. Numpy.vstack() is a function that helps to pile the input sequence vertically so as to produce one stacked array. It can be useful when we want to stack different arrays into one row-wise (vertically). We can use this function up to nd-arrays but it&#8217;s recommended to use it till <br>3-D arrays.<\/p>\n\n\n\n<p>However, if you have any doubts or questions do let me know in the comment section below. I will try to help you as soon as possible.<\/p>\n\n\n\n<p><strong><em>Happy Pythoning!<\/em><\/strong><\/p>\n\n\n<div class=\"monsterinsights-widget-popular-posts monsterinsights-widget-popular-posts-delta monsterinsights-popular-posts-styled monsterinsights-widget-popular-posts-columns-2\"><h2 class=\"monsterinsights-widget-popular-posts-widget-title\"><span class=\"ez-toc-section\" id=\"Trending_Python_Articles\"><\/span>Trending Python Articles<span class=\"ez-toc-section-end\"><\/span><\/h2><ul class=\"monsterinsights-widget-popular-posts-list\"><li ><a href=\"https:\/\/www.pythonpool.com\/fixed-typeerror-cant-compare-datetime-datetime-to-datetime-date\/\"><div class=\"monsterinsights-widget-popular-posts-image\"><img decoding=\"async\" src=\"https:\/\/www.pythonpool.com\/wp-content\/uploads\/2024\/01\/typeerror-cant-compare-datetime.datetime-to-datetime.date_-300x157.webp\" srcset=\" https:\/\/www.pythonpool.com\/wp-content\/uploads\/2024\/01\/typeerror-cant-compare-datetime.datetime-to-datetime.date_-300x157.webp 300w, https:\/\/www.pythonpool.com\/wp-content\/uploads\/2024\/01\/typeerror-cant-compare-datetime.datetime-to-datetime.date_-1024x536.webp 1024w, https:\/\/www.pythonpool.com\/wp-content\/uploads\/2024\/01\/typeerror-cant-compare-datetime.datetime-to-datetime.date_-768x402.webp 768w, https:\/\/www.pythonpool.com\/wp-content\/uploads\/2024\/01\/typeerror-cant-compare-datetime.datetime-to-datetime.date_.webp 1200w \" alt=\"[Fixed] typeerror can&#8217;t compare datetime.datetime to datetime.date\" \/><\/div><div class=\"monsterinsights-widget-popular-posts-text\"><span class=\"monsterinsights-widget-popular-posts-title\" >[Fixed] typeerror can&#8217;t compare datetime.datetime to datetime.date<\/span><div class=\"monsterinsights-widget-popular-posts-meta\" ><span class=\"monsterinsights-widget-popular-posts-author\">by Namrata Gulati<\/span><span>&#9679;<\/span><span class=\"monsterinsights-widget-popular-posts-date\">January 11, 2024<\/span><\/div><\/div><\/a><\/li><li ><a href=\"https:\/\/www.pythonpool.com\/fixed-nameerror-name-unicode-is-not-defined\/\"><div class=\"monsterinsights-widget-popular-posts-image\"><img decoding=\"async\" src=\"https:\/\/www.pythonpool.com\/wp-content\/uploads\/2024\/01\/Fixed-nameerror-name-Unicode-is-not-defined-300x157.webp\" srcset=\" https:\/\/www.pythonpool.com\/wp-content\/uploads\/2024\/01\/Fixed-nameerror-name-Unicode-is-not-defined-300x157.webp 300w, https:\/\/www.pythonpool.com\/wp-content\/uploads\/2024\/01\/Fixed-nameerror-name-Unicode-is-not-defined-1024x536.webp 1024w, https:\/\/www.pythonpool.com\/wp-content\/uploads\/2024\/01\/Fixed-nameerror-name-Unicode-is-not-defined-768x402.webp 768w, https:\/\/www.pythonpool.com\/wp-content\/uploads\/2024\/01\/Fixed-nameerror-name-Unicode-is-not-defined.webp 1200w \" alt=\"[Fixed] nameerror: name Unicode is not defined\" \/><\/div><div class=\"monsterinsights-widget-popular-posts-text\"><span class=\"monsterinsights-widget-popular-posts-title\" >[Fixed] nameerror: name Unicode is not defined<\/span><div class=\"monsterinsights-widget-popular-posts-meta\" ><span class=\"monsterinsights-widget-popular-posts-author\">by Namrata Gulati<\/span><span>&#9679;<\/span><span class=\"monsterinsights-widget-popular-posts-date\">January 2, 2024<\/span><\/div><\/div><\/a><\/li><li ><a href=\"https:\/\/www.pythonpool.com\/solved-runtimeerror-cuda-error-invalid-device-ordinal\/\"><div class=\"monsterinsights-widget-popular-posts-image\"><img decoding=\"async\" src=\"https:\/\/www.pythonpool.com\/wp-content\/uploads\/2024\/01\/Solved-runtimeerror-cuda-error-invalid-device-ordinal-300x157.webp\" srcset=\" https:\/\/www.pythonpool.com\/wp-content\/uploads\/2024\/01\/Solved-runtimeerror-cuda-error-invalid-device-ordinal-300x157.webp 300w, https:\/\/www.pythonpool.com\/wp-content\/uploads\/2024\/01\/Solved-runtimeerror-cuda-error-invalid-device-ordinal-1024x536.webp 1024w, https:\/\/www.pythonpool.com\/wp-content\/uploads\/2024\/01\/Solved-runtimeerror-cuda-error-invalid-device-ordinal-768x402.webp 768w, https:\/\/www.pythonpool.com\/wp-content\/uploads\/2024\/01\/Solved-runtimeerror-cuda-error-invalid-device-ordinal.webp 1200w \" alt=\"[Solved] runtimeerror: cuda error: invalid device ordinal\" \/><\/div><div class=\"monsterinsights-widget-popular-posts-text\"><span class=\"monsterinsights-widget-popular-posts-title\" >[Solved] runtimeerror: cuda error: invalid device ordinal<\/span><div class=\"monsterinsights-widget-popular-posts-meta\" ><span class=\"monsterinsights-widget-popular-posts-author\">by Namrata Gulati<\/span><span>&#9679;<\/span><span class=\"monsterinsights-widget-popular-posts-date\">January 2, 2024<\/span><\/div><\/div><\/a><\/li><li ><a href=\"https:\/\/www.pythonpool.com\/fixed-typeerror-type-numpy-ndarray-doesnt-define-__round__-method\/\"><div class=\"monsterinsights-widget-popular-posts-image\"><img decoding=\"async\" src=\"https:\/\/www.pythonpool.com\/wp-content\/uploads\/2024\/01\/Fixed-typeerror-type-numpy.ndarray-doesnt-define-__round__-method-300x157.webp\" srcset=\" https:\/\/www.pythonpool.com\/wp-content\/uploads\/2024\/01\/Fixed-typeerror-type-numpy.ndarray-doesnt-define-__round__-method-300x157.webp 300w, https:\/\/www.pythonpool.com\/wp-content\/uploads\/2024\/01\/Fixed-typeerror-type-numpy.ndarray-doesnt-define-__round__-method-1024x536.webp 1024w, https:\/\/www.pythonpool.com\/wp-content\/uploads\/2024\/01\/Fixed-typeerror-type-numpy.ndarray-doesnt-define-__round__-method-768x402.webp 768w, https:\/\/www.pythonpool.com\/wp-content\/uploads\/2024\/01\/Fixed-typeerror-type-numpy.ndarray-doesnt-define-__round__-method.webp 1200w \" alt=\"[Fixed] typeerror: type numpy.ndarray doesn&#8217;t define __round__ method\" \/><\/div><div class=\"monsterinsights-widget-popular-posts-text\"><span class=\"monsterinsights-widget-popular-posts-title\" >[Fixed] typeerror: type numpy.ndarray doesn&#8217;t define __round__ method<\/span><div class=\"monsterinsights-widget-popular-posts-meta\" ><span class=\"monsterinsights-widget-popular-posts-author\">by Namrata Gulati<\/span><span>&#9679;<\/span><span class=\"monsterinsights-widget-popular-posts-date\">January 2, 2024<\/span><\/div><\/div><\/a><\/li><\/ul><\/div><p><\/p>","protected":false},"excerpt":{"rendered":"<p>The numpy module in python consists of so many interesting functions. One such fascinating and time-saving method is the numpy vstack() function. Many times we &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Numpy Vstack in Python For Different Arrays\" class=\"read-more button\" href=\"https:\/\/www.pythonpool.com\/numpy-vstack\/#more-5762\" aria-label=\"More on Numpy Vstack in Python For Different Arrays\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":5792,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1495],"tags":[2605,2604,2602,2603,2601],"class_list":["post-5762","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-numpy","tag-numpy-array-vstack","tag-numpy-vstack-different-sizes","tag-numpy-vstack-empty-array","tag-numpy-vstack-with-nan","tag-vstack-numpy","infinite-scroll-item"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.1 (Yoast SEO v25.0) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Numpy Vstack in Python For Different Arrays - Python Pool<\/title>\n<meta name=\"description\" content=\"numpy vstack() function in Python is used to stack or pile the sequence of input arrays vertically (row-wise) and make them a single array.\" \/>\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.pythonpool.com\/numpy-vstack\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Numpy Vstack in Python For Different Arrays\" \/>\n<meta property=\"og:description\" content=\"The numpy module in python consists of so many interesting functions. One such fascinating and time-saving method is the numpy vstack() function. Many\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pythonpool.com\/numpy-vstack\/\" \/>\n<meta property=\"og:site_name\" content=\"Python Pool\" \/>\n<meta property=\"article:published_time\" content=\"2020-12-03T12:41:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-30T10:51:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.pythonpool.com\/wp-content\/uploads\/2020\/12\/Theatre-Actor-Portfolio-Website-2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1350\" \/>\n\t<meta property=\"og:image:height\" content=\"650\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Python Pool\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@pythonpool\" \/>\n<meta name=\"twitter:site\" content=\"@pythonpool\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Python Pool\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.pythonpool.com\/numpy-vstack\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.pythonpool.com\/numpy-vstack\/\"},\"author\":{\"name\":\"Python Pool\",\"@id\":\"https:\/\/www.pythonpool.com\/#\/schema\/person\/f87448ee54c0ffd2889fbf2408c18998\"},\"headline\":\"Numpy Vstack in Python For Different Arrays\",\"datePublished\":\"2020-12-03T12:41:16+00:00\",\"dateModified\":\"2023-12-30T10:51:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.pythonpool.com\/numpy-vstack\/\"},\"wordCount\":1004,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.pythonpool.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.pythonpool.com\/numpy-vstack\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.pythonpool.com\/wp-content\/uploads\/2020\/12\/Theatre-Actor-Portfolio-Website-2.png\",\"keywords\":[\"numpy array vstack\",\"numpy vstack different sizes\",\"numpy vstack empty array\",\"numpy vstack with nan\",\"vstack numpy\"],\"articleSection\":[\"Numpy\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.pythonpool.com\/numpy-vstack\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.pythonpool.com\/numpy-vstack\/\",\"url\":\"https:\/\/www.pythonpool.com\/numpy-vstack\/\",\"name\":\"Numpy Vstack in Python For Different Arrays - Python Pool\",\"isPartOf\":{\"@id\":\"https:\/\/www.pythonpool.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.pythonpool.com\/numpy-vstack\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.pythonpool.com\/numpy-vstack\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.pythonpool.com\/wp-content\/uploads\/2020\/12\/Theatre-Actor-Portfolio-Website-2.png\",\"datePublished\":\"2020-12-03T12:41:16+00:00\",\"dateModified\":\"2023-12-30T10:51:47+00:00\",\"description\":\"numpy vstack() function in Python is used to stack or pile the sequence of input arrays vertically (row-wise) and make them a single array.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.pythonpool.com\/numpy-vstack\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.pythonpool.com\/numpy-vstack\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.pythonpool.com\/numpy-vstack\/#primaryimage\",\"url\":\"https:\/\/www.pythonpool.com\/wp-content\/uploads\/2020\/12\/Theatre-Actor-Portfolio-Website-2.png\",\"contentUrl\":\"https:\/\/www.pythonpool.com\/wp-content\/uploads\/2020\/12\/Theatre-Actor-Portfolio-Website-2.png\",\"width\":1350,\"height\":650,\"caption\":\"Numpy Vstack\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.pythonpool.com\/numpy-vstack\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.pythonpool.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Numpy Vstack in Python For Different Arrays\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.pythonpool.com\/#website\",\"url\":\"https:\/\/www.pythonpool.com\/\",\"name\":\"Python Pool\",\"description\":\"Your One-Stop Python Learning Destination\",\"publisher\":{\"@id\":\"https:\/\/www.pythonpool.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.pythonpool.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.pythonpool.com\/#organization\",\"name\":\"Python Pool\",\"url\":\"https:\/\/www.pythonpool.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.pythonpool.com\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/www.pythonpool.com\/wp-content\/uploads\/2020\/08\/aa.png\",\"contentUrl\":\"http:\/\/www.pythonpool.com\/wp-content\/uploads\/2020\/08\/aa.png\",\"width\":452,\"height\":185,\"caption\":\"Python Pool\"},\"image\":{\"@id\":\"https:\/\/www.pythonpool.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/pythonpool\",\"https:\/\/www.youtube.com\/c\/pythonpool\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.pythonpool.com\/#\/schema\/person\/f87448ee54c0ffd2889fbf2408c18998\",\"name\":\"Python Pool\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.pythonpool.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/fdd3cb9ad7f560324dfd481989550aa8ffce84388fd253c42beca35c999d3108?s=96&d=wavatar&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/fdd3cb9ad7f560324dfd481989550aa8ffce84388fd253c42beca35c999d3108?s=96&d=wavatar&r=g\",\"caption\":\"Python Pool\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Numpy Vstack in Python For Different Arrays - Python Pool","description":"numpy vstack() function in Python is used to stack or pile the sequence of input arrays vertically (row-wise) and make them a single array.","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.pythonpool.com\/numpy-vstack\/","og_locale":"en_US","og_type":"article","og_title":"Numpy Vstack in Python For Different Arrays","og_description":"The numpy module in python consists of so many interesting functions. One such fascinating and time-saving method is the numpy vstack() function. Many","og_url":"https:\/\/www.pythonpool.com\/numpy-vstack\/","og_site_name":"Python Pool","article_published_time":"2020-12-03T12:41:16+00:00","article_modified_time":"2023-12-30T10:51:47+00:00","og_image":[{"width":1350,"height":650,"url":"https:\/\/www.pythonpool.com\/wp-content\/uploads\/2020\/12\/Theatre-Actor-Portfolio-Website-2.png","type":"image\/png"}],"author":"Python Pool","twitter_card":"summary_large_image","twitter_creator":"@pythonpool","twitter_site":"@pythonpool","twitter_misc":{"Written by":"Python Pool","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.pythonpool.com\/numpy-vstack\/#article","isPartOf":{"@id":"https:\/\/www.pythonpool.com\/numpy-vstack\/"},"author":{"name":"Python Pool","@id":"https:\/\/www.pythonpool.com\/#\/schema\/person\/f87448ee54c0ffd2889fbf2408c18998"},"headline":"Numpy Vstack in Python For Different Arrays","datePublished":"2020-12-03T12:41:16+00:00","dateModified":"2023-12-30T10:51:47+00:00","mainEntityOfPage":{"@id":"https:\/\/www.pythonpool.com\/numpy-vstack\/"},"wordCount":1004,"commentCount":0,"publisher":{"@id":"https:\/\/www.pythonpool.com\/#organization"},"image":{"@id":"https:\/\/www.pythonpool.com\/numpy-vstack\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pythonpool.com\/wp-content\/uploads\/2020\/12\/Theatre-Actor-Portfolio-Website-2.png","keywords":["numpy array vstack","numpy vstack different sizes","numpy vstack empty array","numpy vstack with nan","vstack numpy"],"articleSection":["Numpy"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.pythonpool.com\/numpy-vstack\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.pythonpool.com\/numpy-vstack\/","url":"https:\/\/www.pythonpool.com\/numpy-vstack\/","name":"Numpy Vstack in Python For Different Arrays - Python Pool","isPartOf":{"@id":"https:\/\/www.pythonpool.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.pythonpool.com\/numpy-vstack\/#primaryimage"},"image":{"@id":"https:\/\/www.pythonpool.com\/numpy-vstack\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pythonpool.com\/wp-content\/uploads\/2020\/12\/Theatre-Actor-Portfolio-Website-2.png","datePublished":"2020-12-03T12:41:16+00:00","dateModified":"2023-12-30T10:51:47+00:00","description":"numpy vstack() function in Python is used to stack or pile the sequence of input arrays vertically (row-wise) and make them a single array.","breadcrumb":{"@id":"https:\/\/www.pythonpool.com\/numpy-vstack\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pythonpool.com\/numpy-vstack\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pythonpool.com\/numpy-vstack\/#primaryimage","url":"https:\/\/www.pythonpool.com\/wp-content\/uploads\/2020\/12\/Theatre-Actor-Portfolio-Website-2.png","contentUrl":"https:\/\/www.pythonpool.com\/wp-content\/uploads\/2020\/12\/Theatre-Actor-Portfolio-Website-2.png","width":1350,"height":650,"caption":"Numpy Vstack"},{"@type":"BreadcrumbList","@id":"https:\/\/www.pythonpool.com\/numpy-vstack\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pythonpool.com\/"},{"@type":"ListItem","position":2,"name":"Numpy Vstack in Python For Different Arrays"}]},{"@type":"WebSite","@id":"https:\/\/www.pythonpool.com\/#website","url":"https:\/\/www.pythonpool.com\/","name":"Python Pool","description":"Your One-Stop Python Learning Destination","publisher":{"@id":"https:\/\/www.pythonpool.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pythonpool.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.pythonpool.com\/#organization","name":"Python Pool","url":"https:\/\/www.pythonpool.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pythonpool.com\/#\/schema\/logo\/image\/","url":"http:\/\/www.pythonpool.com\/wp-content\/uploads\/2020\/08\/aa.png","contentUrl":"http:\/\/www.pythonpool.com\/wp-content\/uploads\/2020\/08\/aa.png","width":452,"height":185,"caption":"Python Pool"},"image":{"@id":"https:\/\/www.pythonpool.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/pythonpool","https:\/\/www.youtube.com\/c\/pythonpool"]},{"@type":"Person","@id":"https:\/\/www.pythonpool.com\/#\/schema\/person\/f87448ee54c0ffd2889fbf2408c18998","name":"Python Pool","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pythonpool.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/fdd3cb9ad7f560324dfd481989550aa8ffce84388fd253c42beca35c999d3108?s=96&d=wavatar&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fdd3cb9ad7f560324dfd481989550aa8ffce84388fd253c42beca35c999d3108?s=96&d=wavatar&r=g","caption":"Python Pool"}}]}},"_links":{"self":[{"href":"https:\/\/www.pythonpool.com\/wp-json\/wp\/v2\/posts\/5762","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pythonpool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pythonpool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pythonpool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pythonpool.com\/wp-json\/wp\/v2\/comments?post=5762"}],"version-history":[{"count":31,"href":"https:\/\/www.pythonpool.com\/wp-json\/wp\/v2\/posts\/5762\/revisions"}],"predecessor-version":[{"id":31331,"href":"https:\/\/www.pythonpool.com\/wp-json\/wp\/v2\/posts\/5762\/revisions\/31331"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pythonpool.com\/wp-json\/wp\/v2\/media\/5792"}],"wp:attachment":[{"href":"https:\/\/www.pythonpool.com\/wp-json\/wp\/v2\/media?parent=5762"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pythonpool.com\/wp-json\/wp\/v2\/categories?post=5762"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pythonpool.com\/wp-json\/wp\/v2\/tags?post=5762"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}