{"id":8513,"date":"2021-06-10T14:06:02","date_gmt":"2021-06-10T08:36:02","guid":{"rendered":"https:\/\/python-programs.com\/?p=8513"},"modified":"2021-11-22T18:53:30","modified_gmt":"2021-11-22T13:23:30","slug":"numpy-zeros-numpy-ones-create-a-numpy-array-of-zeros-or-ones","status":"publish","type":"post","link":"https:\/\/python-programs.com\/numpy-zeros-numpy-ones-create-a-numpy-array-of-zeros-or-ones\/","title":{"rendered":"numpy.zeros() & numpy.ones() | Create a numpy array of zeros or ones"},"content":{"rendered":"

Create a 1D \/ 2D Numpy Arrays of zeros or ones<\/h2>\n

We are going to how we can create variou types of numpy arrays.<\/p>\n

numpy.zeros( ) :<\/h3>\n

The numpy module in python makes it able to create a numpy array all initialized with 0\u2019s.<\/p>\n

Syntax: numpy.zeros(shape, dtype=, order=)<\/pre>\n

Parameters :<\/strong><\/p>\n

    \n
  1. shape :<\/strong> The shape of the numpy array.(single Int or a sequence)<\/li>\n
  2. dtype :<\/strong> It is an optional parameter that takes the data type of elements.(default value is float32)<\/li>\n
  3. order :<\/strong> It is also an optional parameter which defines the order in which the array will be stored(\u2018C\u2019 for column-major which is also the default value and \u2018F\u2019 for row-major)<\/li>\n<\/ol>\n

    Flattened numpy array filled with all zeros :<\/h3>\n

    Below code is the implementation for that.<\/p>\n

    import numpy as np\r\n\r\n#Creating a numpy array containing all 0's\r\nzeroArray = np.zeros(5)\r\nprint(\"The array contents are : \", zeroArray)\r\n<\/pre>\n
    Output : \r\nThe array contents are :\u00a0 [0. 0. 0. 0. 0.]<\/pre>\n

    Creating a 2D numpy array with 5 rows & 6 columns, filled with 0\u2019s :<\/strong><\/p>\n

    To create an array with 5 rows and 6 columns filled with all 0\u2019s, we need to pass 5 and 6 as parameters into the function.<\/p>\n

    Below code is the implementation for that.<\/p>\n

    import numpy as np\r\n\r\n# Creating a 5X6 numpy array containing all 0's\r\nzeroArray = np.zeros((5, 6))\r\nprint(\"The array contents are : \", zeroArray)\r\n<\/pre>\n
    Output :\r\nThe array contents are :\u00a0 [[0. 0. 0. 0. 0. 0.]\r\n [0. 0. 0. 0. 0. 0.]\r\n [0. 0. 0. 0. 0. 0.]\r\n [0. 0. 0. 0. 0. 0.]\r\n\u00a0[0. 0. 0. 0. 0. 0.]]<\/pre>\n

    It created a zero numpy array of 5X6 size for us.<\/p>\n

    numpy.ones( ) :<\/h3>\n

    Just like the numpy.zeros( )<\/code>, numpy.ones( )<\/code> is used to initialize the array elements to 1. It has same syntax.<\/p>\n

    Syntax - numpy.ones(shape, dtype=float, order='C')<\/pre>\n

    Creating a flattened numpy array filled with all Ones :<\/h3>\n

    Below code is the implementation for that.<\/p>\n

    import numpy as np\r\n\r\n# Creating a numpy array containing all 1's\r\noneArray = np.ones(5)\r\nprint(\"The array contents are : \", oneArray)\r\n<\/pre>\n
    Output :\r\nThe array contents are :\u00a0 [1. 1. 1. 1. 1.]<\/pre>\n

    Creating a 2D numpy array with 3 rows & 4 columns, filled with 1\u2019s :<\/h3>\n

    To create a 2D numpy array with 3 rows and 4 columns filled with 1\u2019s, we have to pass (3,4) into the function.<\/p>\n

    Below code is the implementation for that.<\/p>\n

    import numpy as np\r\n\r\n# Creating a 3X4 numpy array containing all 1's\r\noneArray = np.ones((3, 4))\r\nprint(\"The array contents are : \", oneArray)\r\nprint(\"Data Type of elements in  Array : \", oneArray.dtype)\r\n<\/pre>\n
    Output :\r\nThe array contents are :\u00a0 [[1. 1. 1. 1.]\r\n [1. 1. 1. 1.]\r\n [1. 1. 1. 1.]]\r\nData Type of elements in\u00a0 Array :\u00a0 float64<\/pre>\n

    Let\u2019s see how we can set the datatype to integer.<\/p>\n

    import numpy as np\r\n\r\n# Creating a 3X4 numpy array containing all 1's int64 datatype\r\noneArray = np.ones((3, 4), dtype=np.int64)\r\nprint(\"The array contents are : \", oneArray)\r\nprint(\"Data Type of elements in  Array : \", oneArray.dtype)\r\n<\/pre>\n
    Output :\r\nThe array contents are :\u00a0 [[1 1 1 1]\r\n [1 1 1 1]\r\n [1 1 1 1]]\r\nData Type of elements in\u00a0 Array :\u00a0 int64<\/pre>\n

     <\/p>\n","protected":false},"excerpt":{"rendered":"

    Create a 1D \/ 2D Numpy Arrays of zeros or ones We are going to how we can create variou types of numpy arrays. numpy.zeros( ) : The numpy module in python makes it able to create a numpy array all initialized with 0\u2019s. Syntax: numpy.zeros(shape, dtype=, order=) Parameters : shape : The shape of …<\/p>\n

    numpy.zeros() & numpy.ones() | Create a numpy array of zeros or ones<\/span> Read More »<\/a><\/p>\n","protected":false},"author":9,"featured_media":8515,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[5],"tags":[],"yoast_head":"\nnumpy.zeros() & numpy.ones() | Create a numpy array of zeros or ones - Python Programs<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/python-programs.com\/numpy-zeros-numpy-ones-create-a-numpy-array-of-zeros-or-ones\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"numpy.zeros() & numpy.ones() | Create a numpy array of zeros or ones - Python Programs\" \/>\n<meta property=\"og:description\" content=\"Create a 1D \/ 2D Numpy Arrays of zeros or ones We are going to how we can create variou types of numpy arrays. numpy.zeros( ) : The numpy module in python makes it able to create a numpy array all initialized with 0\u2019s. Syntax: numpy.zeros(shape, dtype=, order=) Parameters : shape : The shape of … numpy.zeros() & numpy.ones() | Create a numpy array of zeros or ones Read More »\" \/>\n<meta property=\"og:url\" content=\"https:\/\/python-programs.com\/numpy-zeros-numpy-ones-create-a-numpy-array-of-zeros-or-ones\/\" \/>\n<meta property=\"og:site_name\" content=\"Python Programs\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/btechgeeks\" \/>\n<meta property=\"article:published_time\" content=\"2021-06-10T08:36:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-11-22T13:23:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/python-programs.com\/wp-content\/uploads\/2021\/06\/Create-a-1D-2D-Numpy-Arrays-of-zeros-or-ones.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@btech_geeks\" \/>\n<meta name=\"twitter:site\" content=\"@btech_geeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Satyabrata Jena\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/python-programs.com\/#organization\",\"name\":\"BTech Geeks\",\"url\":\"https:\/\/python-programs.com\/\",\"sameAs\":[\"https:\/\/www.instagram.com\/btechgeeks\/\",\"https:\/\/www.linkedin.com\/in\/btechgeeks\",\"https:\/\/in.pinterest.com\/btechgeek\/\",\"https:\/\/www.youtube.com\/channel\/UC9MlCqdJ3lKqz2p5114SDIg\",\"https:\/\/www.facebook.com\/btechgeeks\",\"https:\/\/twitter.com\/btech_geeks\"],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/python-programs.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/python-programs.com\/wp-content\/uploads\/2020\/11\/BTechGeeks.png\",\"contentUrl\":\"https:\/\/python-programs.com\/wp-content\/uploads\/2020\/11\/BTechGeeks.png\",\"width\":350,\"height\":70,\"caption\":\"BTech Geeks\"},\"image\":{\"@id\":\"https:\/\/python-programs.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/python-programs.com\/#website\",\"url\":\"https:\/\/python-programs.com\/\",\"name\":\"Python Programs\",\"description\":\"Python Programs with Examples, How To Guides on Python\",\"publisher\":{\"@id\":\"https:\/\/python-programs.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/python-programs.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/python-programs.com\/numpy-zeros-numpy-ones-create-a-numpy-array-of-zeros-or-ones\/#primaryimage\",\"url\":\"https:\/\/python-programs.com\/wp-content\/uploads\/2021\/06\/Create-a-1D-2D-Numpy-Arrays-of-zeros-or-ones.png\",\"contentUrl\":\"https:\/\/python-programs.com\/wp-content\/uploads\/2021\/06\/Create-a-1D-2D-Numpy-Arrays-of-zeros-or-ones.png\",\"width\":1280,\"height\":720},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/python-programs.com\/numpy-zeros-numpy-ones-create-a-numpy-array-of-zeros-or-ones\/#webpage\",\"url\":\"https:\/\/python-programs.com\/numpy-zeros-numpy-ones-create-a-numpy-array-of-zeros-or-ones\/\",\"name\":\"numpy.zeros() & numpy.ones() | Create a numpy array of zeros or ones - Python Programs\",\"isPartOf\":{\"@id\":\"https:\/\/python-programs.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/python-programs.com\/numpy-zeros-numpy-ones-create-a-numpy-array-of-zeros-or-ones\/#primaryimage\"},\"datePublished\":\"2021-06-10T08:36:02+00:00\",\"dateModified\":\"2021-11-22T13:23:30+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/python-programs.com\/numpy-zeros-numpy-ones-create-a-numpy-array-of-zeros-or-ones\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/python-programs.com\/numpy-zeros-numpy-ones-create-a-numpy-array-of-zeros-or-ones\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/python-programs.com\/numpy-zeros-numpy-ones-create-a-numpy-array-of-zeros-or-ones\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/python-programs.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"numpy.zeros() & numpy.ones() | Create a numpy array of zeros or ones\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/python-programs.com\/numpy-zeros-numpy-ones-create-a-numpy-array-of-zeros-or-ones\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/python-programs.com\/numpy-zeros-numpy-ones-create-a-numpy-array-of-zeros-or-ones\/#webpage\"},\"author\":{\"@id\":\"https:\/\/python-programs.com\/#\/schema\/person\/0f6d731bda7051ce3586f71299f391cd\"},\"headline\":\"numpy.zeros() & numpy.ones() | Create a numpy array of zeros or ones\",\"datePublished\":\"2021-06-10T08:36:02+00:00\",\"dateModified\":\"2021-11-22T13:23:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/python-programs.com\/numpy-zeros-numpy-ones-create-a-numpy-array-of-zeros-or-ones\/#webpage\"},\"wordCount\":265,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/python-programs.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/python-programs.com\/numpy-zeros-numpy-ones-create-a-numpy-array-of-zeros-or-ones\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/python-programs.com\/wp-content\/uploads\/2021\/06\/Create-a-1D-2D-Numpy-Arrays-of-zeros-or-ones.png\",\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/python-programs.com\/numpy-zeros-numpy-ones-create-a-numpy-array-of-zeros-or-ones\/#respond\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/python-programs.com\/#\/schema\/person\/0f6d731bda7051ce3586f71299f391cd\",\"name\":\"Satyabrata Jena\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/python-programs.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c1bf8033ec357d085f41815bee1625cc?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c1bf8033ec357d085f41815bee1625cc?s=96&d=mm&r=g\",\"caption\":\"Satyabrata Jena\"},\"url\":\"https:\/\/python-programs.com\/author\/satyabrata\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"numpy.zeros() & numpy.ones() | Create a numpy array of zeros or ones - Python Programs","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:\/\/python-programs.com\/numpy-zeros-numpy-ones-create-a-numpy-array-of-zeros-or-ones\/","og_locale":"en_US","og_type":"article","og_title":"numpy.zeros() & numpy.ones() | Create a numpy array of zeros or ones - Python Programs","og_description":"Create a 1D \/ 2D Numpy Arrays of zeros or ones We are going to how we can create variou types of numpy arrays. numpy.zeros( ) : The numpy module in python makes it able to create a numpy array all initialized with 0\u2019s. Syntax: numpy.zeros(shape, dtype=, order=) Parameters : shape : The shape of … numpy.zeros() & numpy.ones() | Create a numpy array of zeros or ones Read More »","og_url":"https:\/\/python-programs.com\/numpy-zeros-numpy-ones-create-a-numpy-array-of-zeros-or-ones\/","og_site_name":"Python Programs","article_publisher":"https:\/\/www.facebook.com\/btechgeeks","article_published_time":"2021-06-10T08:36:02+00:00","article_modified_time":"2021-11-22T13:23:30+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/python-programs.com\/wp-content\/uploads\/2021\/06\/Create-a-1D-2D-Numpy-Arrays-of-zeros-or-ones.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_creator":"@btech_geeks","twitter_site":"@btech_geeks","twitter_misc":{"Written by":"Satyabrata Jena","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/python-programs.com\/#organization","name":"BTech Geeks","url":"https:\/\/python-programs.com\/","sameAs":["https:\/\/www.instagram.com\/btechgeeks\/","https:\/\/www.linkedin.com\/in\/btechgeeks","https:\/\/in.pinterest.com\/btechgeek\/","https:\/\/www.youtube.com\/channel\/UC9MlCqdJ3lKqz2p5114SDIg","https:\/\/www.facebook.com\/btechgeeks","https:\/\/twitter.com\/btech_geeks"],"logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/python-programs.com\/#\/schema\/logo\/image\/","url":"https:\/\/python-programs.com\/wp-content\/uploads\/2020\/11\/BTechGeeks.png","contentUrl":"https:\/\/python-programs.com\/wp-content\/uploads\/2020\/11\/BTechGeeks.png","width":350,"height":70,"caption":"BTech Geeks"},"image":{"@id":"https:\/\/python-programs.com\/#\/schema\/logo\/image\/"}},{"@type":"WebSite","@id":"https:\/\/python-programs.com\/#website","url":"https:\/\/python-programs.com\/","name":"Python Programs","description":"Python Programs with Examples, How To Guides on Python","publisher":{"@id":"https:\/\/python-programs.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/python-programs.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/python-programs.com\/numpy-zeros-numpy-ones-create-a-numpy-array-of-zeros-or-ones\/#primaryimage","url":"https:\/\/python-programs.com\/wp-content\/uploads\/2021\/06\/Create-a-1D-2D-Numpy-Arrays-of-zeros-or-ones.png","contentUrl":"https:\/\/python-programs.com\/wp-content\/uploads\/2021\/06\/Create-a-1D-2D-Numpy-Arrays-of-zeros-or-ones.png","width":1280,"height":720},{"@type":"WebPage","@id":"https:\/\/python-programs.com\/numpy-zeros-numpy-ones-create-a-numpy-array-of-zeros-or-ones\/#webpage","url":"https:\/\/python-programs.com\/numpy-zeros-numpy-ones-create-a-numpy-array-of-zeros-or-ones\/","name":"numpy.zeros() & numpy.ones() | Create a numpy array of zeros or ones - Python Programs","isPartOf":{"@id":"https:\/\/python-programs.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/python-programs.com\/numpy-zeros-numpy-ones-create-a-numpy-array-of-zeros-or-ones\/#primaryimage"},"datePublished":"2021-06-10T08:36:02+00:00","dateModified":"2021-11-22T13:23:30+00:00","breadcrumb":{"@id":"https:\/\/python-programs.com\/numpy-zeros-numpy-ones-create-a-numpy-array-of-zeros-or-ones\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/python-programs.com\/numpy-zeros-numpy-ones-create-a-numpy-array-of-zeros-or-ones\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/python-programs.com\/numpy-zeros-numpy-ones-create-a-numpy-array-of-zeros-or-ones\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/python-programs.com\/"},{"@type":"ListItem","position":2,"name":"numpy.zeros() & numpy.ones() | Create a numpy array of zeros or ones"}]},{"@type":"Article","@id":"https:\/\/python-programs.com\/numpy-zeros-numpy-ones-create-a-numpy-array-of-zeros-or-ones\/#article","isPartOf":{"@id":"https:\/\/python-programs.com\/numpy-zeros-numpy-ones-create-a-numpy-array-of-zeros-or-ones\/#webpage"},"author":{"@id":"https:\/\/python-programs.com\/#\/schema\/person\/0f6d731bda7051ce3586f71299f391cd"},"headline":"numpy.zeros() & numpy.ones() | Create a numpy array of zeros or ones","datePublished":"2021-06-10T08:36:02+00:00","dateModified":"2021-11-22T13:23:30+00:00","mainEntityOfPage":{"@id":"https:\/\/python-programs.com\/numpy-zeros-numpy-ones-create-a-numpy-array-of-zeros-or-ones\/#webpage"},"wordCount":265,"commentCount":0,"publisher":{"@id":"https:\/\/python-programs.com\/#organization"},"image":{"@id":"https:\/\/python-programs.com\/numpy-zeros-numpy-ones-create-a-numpy-array-of-zeros-or-ones\/#primaryimage"},"thumbnailUrl":"https:\/\/python-programs.com\/wp-content\/uploads\/2021\/06\/Create-a-1D-2D-Numpy-Arrays-of-zeros-or-ones.png","articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/python-programs.com\/numpy-zeros-numpy-ones-create-a-numpy-array-of-zeros-or-ones\/#respond"]}]},{"@type":"Person","@id":"https:\/\/python-programs.com\/#\/schema\/person\/0f6d731bda7051ce3586f71299f391cd","name":"Satyabrata Jena","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/python-programs.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c1bf8033ec357d085f41815bee1625cc?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c1bf8033ec357d085f41815bee1625cc?s=96&d=mm&r=g","caption":"Satyabrata Jena"},"url":"https:\/\/python-programs.com\/author\/satyabrata\/"}]}},"jetpack_featured_media_url":"https:\/\/python-programs.com\/wp-content\/uploads\/2021\/06\/Create-a-1D-2D-Numpy-Arrays-of-zeros-or-ones.png","_links":{"self":[{"href":"https:\/\/python-programs.com\/wp-json\/wp\/v2\/posts\/8513"}],"collection":[{"href":"https:\/\/python-programs.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/python-programs.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/python-programs.com\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/python-programs.com\/wp-json\/wp\/v2\/comments?post=8513"}],"version-history":[{"count":4,"href":"https:\/\/python-programs.com\/wp-json\/wp\/v2\/posts\/8513\/revisions"}],"predecessor-version":[{"id":8550,"href":"https:\/\/python-programs.com\/wp-json\/wp\/v2\/posts\/8513\/revisions\/8550"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/python-programs.com\/wp-json\/wp\/v2\/media\/8515"}],"wp:attachment":[{"href":"https:\/\/python-programs.com\/wp-json\/wp\/v2\/media?parent=8513"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/python-programs.com\/wp-json\/wp\/v2\/categories?post=8513"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/python-programs.com\/wp-json\/wp\/v2\/tags?post=8513"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}