{"id":4109,"date":"2021-05-06T19:46:16","date_gmt":"2021-05-06T14:16:16","guid":{"rendered":"https:\/\/blog.guvi.in\/?p=4109"},"modified":"2026-01-08T17:15:38","modified_gmt":"2026-01-08T11:45:38","slug":"how-to-make-a-flat-list-out-of-a-list-of-lists","status":"publish","type":"post","link":"https:\/\/www.guvi.in\/blog\/how-to-make-a-flat-list-out-of-a-list-of-lists\/","title":{"rendered":"How To Make A Flat List Out Of A List Of Lists"},"content":{"rendered":"\n<p>Are you wondering how to make a flat list out of a list of lists? Do you want to save the ordered collection of various items of 2-D into the 1-D list in Python? <\/p>\n\n\n\n<p>If yes! Then this is the best guide to learn how to make a flat list out of a list of lists. But before that, we want to make beginners familiar with the <strong><em>list <\/em><\/strong>in Python.<\/p>\n\n\n\n<p>The <strong><em>list <\/em><\/strong>is one of the <a href=\"https:\/\/www.guvi.in\/blog\/python-list-of-lists-changes-reflected-across-sublists\/\" data-type=\"link\" data-id=\"https:\/\/www.guvi.in\/blog\/python-list-of-lists-changes-reflected-across-sublists\/\">built-in data structures<\/a> that is available among the dictionaries, sets, and tuples in Python. It is used to save similar or different types of ordered items. The square brackets and commas are used to make a list.<\/p>\n\n\n\n<p>For example: Changing the [[1,2],[3,4]] to [1,2,3,4].<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Is there any benefit of using the list in Python?<\/strong><\/h2>\n\n\n\n<p><em>Yes, there is!!<\/em><\/p>\n\n\n\n<p>We have mentioned that a list is one of Python&#8217;s data structures that is changeable, mutable, or has an ordered sequence of various components. <a href=\"https:\/\/www.guvi.in\/blog\/python-how-to-iterate-through-two-lists-in-parallel\/\" data-type=\"link\" data-id=\"https:\/\/www.guvi.in\/blog\/python-how-to-iterate-through-two-lists-in-parallel\/\">The list<\/a> allows you to keep all the relevant data collectively.&nbsp;<\/p>\n\n\n\n<p>This data may belong or not belong to a similar data type. But the user can perform the operations and techniques over each element of the list simultaneously. That is why there is a benefit of using the list in Python programs.&nbsp;<\/p>\n\n\n\n<p><em>Before diving into the next section, ensure you&#8217;re solid on Python essentials from basics to advanced level. If you are looking for a detailed Python career program, you can join <\/em><strong><em>HCL GUVI\u2019s<\/em><\/strong><a href=\"https:\/\/www.guvi.in\/zen-class\/python-course\/?utm_source=blog&amp;utm_medium=organic&amp;utm_campaign=Make%20A%20Flat%20List%20Out%20Of%20A%20List%20Of%20Lists\" target=\"_blank\" rel=\"noreferrer noopener\"><strong><em> Python Career Program<\/em><\/strong><\/a><strong><em> <\/em><\/strong><em>with placement assistance. You will be able to master the Multiple Exceptions, classes, OOPS concepts, dictionary, and many more, and build real-life projects. Also, if you would like to explore Python through a Self-paced course, try <\/em><strong><em>HCL GUVI\u2019s <\/em><\/strong><a href=\"https:\/\/www.guvi.in\/courses\/programming\/python\/?utm_source=blog&amp;utm_medium=organic&amp;utm_campaign=Make%20A%20Flat%20List%20Out%20Of%20A%20List%20Of%20Lists\" target=\"_blank\" rel=\"noreferrer noopener\"><strong><em>Python Self-Paced course<\/em><\/strong><\/a><em>.<\/em><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-background\" style=\"background-color:#f3f4f5\"><tbody><tr><td><strong>Bonus: <\/strong>Is it also possible to know how many elements are there in the list? Yes, it is possible to know by using the <strong><em>len()<\/em><\/strong> function.<br><br><strong>Example:<\/strong>&nbsp;<br><em>list = [&#8220;p&#8221;, &#8220;q&#8221;, &#8220;r&#8221;, &#8220;s&#8221;, &#8220;t&#8221;]<\/em><em>print(len(list))<\/em><br><br><strong>Output:<\/strong><br>5<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What is a flattening list, and why do we need it?<\/strong><\/h2>\n\n\n\n<p>We know that a list of lists is taken as 2 -D arrays in Python. However, Python does not hold the array concept as that of Java or C. Therefore, flattening the list of lists makes the components of sublists in the 1-D array.&nbsp;<\/p>\n\n\n\n<p>For instance: [[a,b,c],[d,e,f] -&gt; [a,b,c,d,e,f].<\/p>\n\n\n\n<p>Python users need these flattening lists to perform a similar operation on each element of the list simultaneously. A flattening list can be created with different methods. We have listed all the useful methods for it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Different approaches for how to make a flat list out of a list of lists<\/strong><\/h2>\n\n\n\n<p>Before proceeding to the flat list, let&#8217;s begin with a simple example: change [[1,2],[3,4]] to [1,2,3,4].<\/p>\n\n\n\n<p>This kind of flattening is termed shallow flattening because it can falt the list to 1-D depth.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/pxpDIYR_7REb0BSVcxtAEbuT_vlAy9zqkAl8_8erH_YjnoWolrmPhBuHQS7OGz7npiq64NxD_jFbBkFHPUEDQ_sUT-bqZkTLmrMsIH006-p50lritiCfWw8QWa0ocWcKHEV4gQY\" alt=\"\" title=\"\"><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Output<\/h4>\n\n\n\n<p><strong>[1, 2, 3, 4]<\/strong><\/p>\n\n\n\n<p>This is how to make a flat list out of a list of lists. Now, let&#8217;s move to the different approaches to make the flat list.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. <strong>Nested loop<\/strong><\/h3>\n\n\n\n<p>When a loop (either while loop or for-loop) involves other loops in the main body block, then we can take it as a nested loop.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/_3YOoqPQ3gjKswjlH1kXa10hb4HxCW6x0TGm0list1mgh97MjaolFtQLr0u4UMrDk74HJNVrrRj5KAJOYHDGkBsD-NJmWtXOrhxAj-Bex0rcne-EANJ7cj21s7MvV_adk0l8ZDw\" alt=\"\" title=\"\"><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Output<\/h4>\n\n\n\n<p><strong>(&#8216;Previous List:&#8217;, [[0, 1, 2], [3, 4, 5], [6, 7, 8]])<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/2HFv2wbdixb3MMIGlJrff4tA4_V8S1feyImIJ0xP1txaEjozXMq_m5RBVMIVGfIKPDq4tgzEUrboZywtDDvEPeZeP2GMeXemIf6b0GB_5gjf5bNUb0o0SIvIwzAkjfMUes6WHGg\" alt=\"\" title=\"\"><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Output<\/strong><\/h4>\n\n\n\n<p><strong>(&#8216;Flattened List:&#8217;, [0, 1, 2, 3, 4, 5, 6, 7, 8])<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. <strong>Functools (reduce-iconcat) <em><a href=\"https:\/\/www.python.org\/\" target=\"_blank\" rel=\"noopener\">[Using Python Library]<\/a><\/em><\/strong><\/h3>\n\n\n\n<p>If you want to execute the programs much faster, this approach is the best approach. Although it does not have any automatic system that can be work quickly, the user needs to import it along with few libraries.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/aH3sNy2eu7DO1AlhZNLGpTq1JeHf4pzh3FzIewMmCuR5NU-mIPy1PiB52_FO0YC2TDMuaSRx98a7JWGO6WLAJfV38AzrYa0VmPthiHnINR-9qoflBqsOpNjEMnHL28PdL8V3pw0\" alt=\"\" title=\"\"><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Output<\/strong><\/h4>\n\n\n\n<p><strong>(&#8216;Previous List:&#8217;, [[0, 1, 2], [6, 7, 8], [3, 4, 5]])<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/5I_5QkBuCqX57fbI-iE__rwClH1v-9u8G4aY1QsEHfoqZnkHpZNKPD7lFXpCKV9_yX9CQ3f6sNlTx3Idpz-jSEQiU__Qbd0rL9tfrcXq_n6RjMMIIt5ScVTnhGyQDHIE9DO8OZo\" alt=\"\" title=\"\"><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Output<\/strong><\/h4>\n\n\n\n<p><strong>(&#8216;Flattened List:&#8217;, [0, 1, 2, 6, 7, 8, 3, 4, 5])<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3. <strong>Itertools(chain) <em>[Using Python Library]<\/em><\/strong><\/h3>\n\n\n\n<p>It is a module that has various functions. These functions are used for managing iterators. These modules make iterating using the iterables such as string and list easily.<\/p>\n\n\n\n<p>It is another approach for how to make a flat list out of a list of lists in Python. Itertools are not as fast as the functools, but it is quite better than nested-loop.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/CxLLXW85qhlyXrQIR9TrlBuuBOkJ-x8zS79qJcSpGPi0X8DIVpBn4glTomPt-BK693QPlWDnW5tXLMvHfqaOxZWzb3jfDt0Z15zRm3cTMNfi585pv9pmnFqnRG74PG9-I3YA-n8\" alt=\"\" title=\"\"><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Output<\/strong><\/h4>\n\n\n\n<p><strong>(&#8216;Previous List:&#8217;, [[0, 1, 2], [6, 7, 8], [3, 4, 5]])<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/6Vzop4ZSf765FsGzcjVwOgdtKkpxQKzQof9CqxatFceigkKQ_OpGtEFEQjvz5p6cSMI6Xic-vjkmGajY9KD-in-sO3O1uu-3d5OHNCpuAPqbnYt7D_9sgajlV7EYT76a9AshoHU\" alt=\"\" title=\"\"><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Output<\/h4>\n\n\n\n<p><strong>(&#8216;Flattened List:&#8217;, [0, 1, 2, 6, 7, 8, 3, 4, 5])<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">4. <strong>Sum <em>[Using built-in function]<\/em><\/strong><\/h3>\n\n\n\n<p>Summing the 2-D list into 1-D is another best method to flatten the list. Sum function has two factors: <strong><em>iterable <\/em><\/strong>and <strong><em>start.<\/em><\/strong><\/p>\n\n\n\n<p>[<strong>iterable:<\/strong> a list of list and <strong>start:<\/strong> an empty list in which we will add the sublist.]<\/p>\n\n\n\n<p>It is quite slow as compared to the chain() and itertools() function. But it is always convenient as the user does not need to import anything.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/ZN5cPZKQ2n4Z9veSxmZVS20Vh-q_p3I1XUcBd__YlUoU6rRNJAPYRuPe86pg4WbfF7L0vJ8DThjsswF8nYZPrvIFkDiQLb4k1cKQWmuAwHDNtbk3i8DHnv-FBDYuiMCljfBYbYM\" alt=\"\" title=\"\"><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Output<\/strong><\/h4>\n\n\n\n<p><strong>(&#8216;Previous List:&#8217;, [[0, 1, 2], [6, 7, 8], [3, 4, 5]])<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/0Vq66ANa_FRgJ42eoMy6kdcefNkwaJzxi-FNkmW2HopJIvWUr1EQ0fweguKeBV02QIwjWctZsUpxlY4vVtn8X6mC3ZY2VCHbpfDRlua_WGQSVGuCCAUVZNq9J692TjAZavZW0uY\" alt=\"\" title=\"\"><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Output<\/strong><\/h4>\n\n\n\n<p><strong>(&#8216;Flattened List:&#8217;, [0, 1, 2, 6, 7, 8, 3, 4, 5])<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>5. Lambda <em>[Using built-in function]<\/em><\/strong><\/h3>\n\n\n\n<p>The lambda does not mean to change the items in the list. Rather, it can use for sorting the elements. Here, we have not only changed the list in flatten list but also sorted the list in a well-structured manner.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/gemeN2ORKhzmeN4Wgq6ByOQgOvczNbxwhQC2ZdYOOS1qG4wx2I-sgLuGM23SxMffk9JGgz419ynm7-f5_pfbC30LA6DB5_dYxBrEstfGwCwSdvXRq6dUajOMamuqALwtKM_lQZo\" alt=\"\" title=\"\"><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Output<\/strong><\/h4>\n\n\n\n<p><strong>[[1, 2], [1, 2], [3, 4], [5, 6]]<\/strong><\/p>\n\n\n\n<p>Apart from these, there are various methods regarding how to make a flat list out of lists, such as:<\/p>\n\n\n\n<ul>\n<li><strong><em>Functools &#8211; reduce<\/em><\/strong><\/li>\n\n\n\n<li><strong><em>NumPy &#8211; concatenate<\/em><\/strong><\/li>\n\n\n\n<li><strong><em>NumPy &#8211; flat<\/em><\/strong><\/li>\n\n\n\n<li><strong><em>List Comprehension<\/em><\/strong><\/li>\n<\/ul>\n\n\n\n<p>A python user can use any of these to carry out the Python operations simultaneously over the entire list.<\/p>\n\n\n\n<p><em>Kickstart your Programming journey by enrolling in<\/em><strong><em> HCL GUVI\u2019s <\/em><\/strong><a href=\"https:\/\/www.guvi.in\/zen-class\/python-course\/?utm_source=blog&amp;utm_medium=organic&amp;utm_campaign=Make%20A%20Flat%20List%20Out%20Of%20A%20List%20Of%20Lists\" target=\"_blank\" rel=\"noreferrer noopener\"><strong><em>Python Career Program<\/em><\/strong><\/a><em> where you will master technologies like multiple exceptions, classes, OOPS concepts, dictionaries, and many more, and build real-life projects. Alternatively, if you would like to explore Python through a Self-Paced course, try<\/em><a href=\"https:\/\/www.guvi.in\/courses\/programming\/python\/?utm_source=blog&amp;utm_medium=organic&amp;utm_campaign=Make%20A%20Flat%20List%20Out%20Of%20A%20List%20Of%20Lists\" target=\"_blank\" rel=\"noreferrer noopener\"><em> <\/em><\/a><strong><em>HCL GUVI\u2019s<\/em><\/strong><a href=\"https:\/\/www.guvi.in\/courses\/programming\/python\/?utm_source=blog&amp;utm_medium=organic&amp;utm_campaign=Make%20A%20Flat%20List%20Out%20Of%20A%20List%20Of%20Lists\" target=\"_blank\" rel=\"noreferrer noopener\"><strong><em> Python Self-Paced course<\/em><\/strong><\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>To implement the Python operations with ease, the listing is the best method. Changing the 2-D list to a 1-D list is known as flattening. There are various approaches to do this, and we have listed all the relevant methods.<\/p>\n\n\n\n<p>Hope you understand things. Still, have an issue with the flattening list? Don&#8217;t worry! Comment your query in the below comment section, and we will help you in the best possible way. We always try our best to help you to <a href=\"https:\/\/www.guvi.in\/courses\/programming\/python\/\" data-type=\"link\" data-id=\"https:\/\/www.guvi.in\/courses\/programming\/python\/\"><strong>enhance your Python skills<\/strong><\/a>.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Answer The Following Multiple Asked Questions To Test Your Knowledge<\/strong><\/h2>\n\n\n\n<div class=\"wp-block-group has-background is-layout-flow wp-block-group-is-layout-flow\" style=\"background-color:#dce0e1\"><div class=\"wp-block-group__inner-container\">\n<ol>\n<li><strong>Suppose list1 is [&#8220;1&#8221;, &#8220;2&#8221;, &#8220;3&#8221;], what is len(list1)?<\/strong><\/li>\n<\/ol>\n\n\n\n<p>a) 4<\/p>\n\n\n\n<p>b) 3<\/p>\n\n\n\n<p>c) Error<\/p>\n\n\n\n<p>d) None<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Correct Answer: (b), as there are three components in the list; therefore, the length of the list is 3.<\/td><\/tr><\/tbody><\/table><\/figure>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-group has-background is-layout-flow wp-block-group-is-layout-flow\" style=\"background-color:#dce0e1\"><div class=\"wp-block-group__inner-container\">\n<ol start=\"2\">\n<li><strong>What is the output of the following code?<\/strong><\/li>\n<\/ol>\n\n\n\n<p><em>list1 = [&#8220;abc&#8221;, 34, True, 40, &#8220;male&#8221;]<\/em><\/p>\n\n\n\n<p><em>print (list1)<\/em><\/p>\n\n\n\n<p>(a) Error<\/p>\n\n\n\n<p>(b) Not defined<\/p>\n\n\n\n<p>(c) [&#8220;abc&#8221;, 34, True, 40, &#8220;male&#8221;]<\/p>\n\n\n\n<p>(d) [&#8216;abc&#8217;, 34, True, 40, &#8216;male&#8217;]<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Correct Answer: (d) The above code can print heterogeneous elements of the list.<\/td><\/tr><\/tbody><\/table><\/figure>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-group has-background is-layout-flow wp-block-group-is-layout-flow\" style=\"background-color:#dce0e1\"><div class=\"wp-block-group__inner-container\">\n<ol start=\"3\">\n<li><strong>Is it possible to add an element to the list using <\/strong><strong><em>append<\/em><\/strong><strong>?<\/strong><\/li>\n<\/ol>\n\n\n\n<p>(a) True<\/p>\n\n\n\n<p>(b) False<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Correct Answer: (a) Yes, it is possible to add an element to the list using <strong><em>append. <\/em><\/strong>Execute the following code to test it:<br><em>x = [&#8216;a&#8217;,&#8217;b&#8217;,&#8217;c&#8217;]<\/em><em>x.append(&#8216;d&#8217;)<\/em><em>print(x)<\/em><br>Output:<br><em>[&#8216;a&#8217;, &#8216;b&#8217;, &#8216;c&#8217;, &#8216;d&#8217;]<\/em><\/td><\/tr><\/tbody><\/table><\/figure>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-group has-background is-layout-flow wp-block-group-is-layout-flow\" style=\"background-color:#dce0e1\"><div class=\"wp-block-group__inner-container\">\n<ol start=\"4\">\n<li><strong>What is the output of the following code?<\/strong><\/li>\n<\/ol>\n\n\n\n<p><em>i = [ [0,1],&nbsp; [ 2 ], [ 3, 4 ] ]<\/em><\/p>\n\n\n\n<p><em>flatten_list = [item for subi in i for item in subi]<\/em><\/p>\n\n\n\n<p><em>print(flatten_list)<\/em><\/p>\n\n\n\n<p>(a) [0, 1, 2, 3, 4]<\/p>\n\n\n\n<p>(b) [0 1 2 3 4]<\/p>\n\n\n\n<p>(c) [&#8216;0&#8217; &#8216;1&#8217; &#8216;2&#8217; &#8216;3&#8217; &#8216;4&#8217;]<\/p>\n\n\n\n<p>(d) Error<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Correct Answer: (a) Implement the code to check the output.<\/td><\/tr><\/tbody><\/table><\/figure>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-group has-background is-layout-flow wp-block-group-is-layout-flow\" style=\"background-color:#dce0e1\"><div class=\"wp-block-group__inner-container\">\n<ol start=\"5\">\n<li><strong>The output of the following code is:<\/strong><\/li>\n<\/ol>\n\n\n\n<p>one = [&#8216;a&#8217;, &#8216;b&#8217;, &#8216;c&#8217;]<\/p>\n\n\n\n<p>two = [&#8216;1&#8217;, &#8216;2&#8217;, &#8216;3&#8217;]<\/p>\n\n\n\n<p>list = one + two&nbsp;<\/p>\n\n\n\n<p>print(list)<\/p>\n\n\n\n<p>(a) Error<\/p>\n\n\n\n<p>(b) None<\/p>\n\n\n\n<p>(c) []<\/p>\n\n\n\n<p>(d) [&#8216;a&#8217;, &#8216;b&#8217;, &#8216;c&#8217;, &#8216;1&#8217;, &#8216;2&#8217;, &#8216;3&#8217;]<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Correct Answer: (d) Execute the program to check the output.<\/td><\/tr><\/tbody><\/table><\/figure>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Are you wondering how to make a flat list out of a list of lists? Do you want to save the ordered collection of various items of 2-D into the 1-D list in Python? If yes! Then this is the best guide to learn how to make a flat list out of a list of [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":4110,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[37,717],"tags":[],"views":"5190","authorinfo":{"name":"Archana","url":"https:\/\/www.guvi.in\/blog\/author\/archana\/"},"thumbnailURL":"https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2021\/05\/how-to-make-a-flat-list-out-of-a-lost-of-lists-300x169.png","jetpack_featured_media_url":"https:\/\/www.guvi.in\/blog\/wp-content\/uploads\/2021\/05\/how-to-make-a-flat-list-out-of-a-lost-of-lists.png","_links":{"self":[{"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/posts\/4109"}],"collection":[{"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/comments?post=4109"}],"version-history":[{"count":11,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/posts\/4109\/revisions"}],"predecessor-version":[{"id":98658,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/posts\/4109\/revisions\/98658"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/media\/4110"}],"wp:attachment":[{"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/media?parent=4109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/categories?post=4109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.guvi.in\/blog\/wp-json\/wp\/v2\/tags?post=4109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}