title
Tutorial 2 - Python List and Boolean Variables
description
Hello All,
Welcome to the Python Crash Course. In this video we will see about python List and Boolean Variables
github url : https://github.com/krishnaik06/Machine-Learning-in-90-days
Support me in Patreon: https://www.patreon.com/join/2340909?
Connect with me here:
Twitter: https://twitter.com/Krishnaik06
Facebook: https://www.facebook.com/krishnaik06
instagram: https://www.instagram.com/krishnaik06
If you like music support my brother's channel
https://www.youtube.com/channel/UCdupFqYIc6VMO-pXVlvmM4Q
Buy the Best book of Machine Learning, Deep Learning with python sklearn and tensorflow from below
amazon url:
https://www.amazon.in/Hands-Machine-Learning-Scikit-Learn-Tensor/dp/9352135210/ref=as_sl_pc_qf_sp_asin_til?tag=krishnaik06-21&linkCode=w00&linkId=a706a13cecffd115aef76f33a760e197&creativeASIN=9352135210
You can buy my book on Finance with Machine Learning and Deep Learning from the below url
amazon url: https://www.amazon.in/Hands-Python-Finance-implementing-strategies/dp/1789346371/ref=as_sl_pc_qf_sp_asin_til?tag=krishnaik06-21&linkCode=w00&linkId=ac229c9a45954acc19c1b2fa2ca96e23&creativeASIN=1789346371
Subscribe my unboxing Channel
https://www.youtube.com/channel/UCjWY5hREA6FFYrthD0rZNIw
Below are the various playlist created on ML,Data Science and Deep Learning. Please subscribe and support the channel. Happy Learning!
Deep Learning Playlist: https://www.youtube.com/watch?v=DKSZHN7jftI&list=PLZoTAELRMXVPGU70ZGsckrMdr0FteeRUi
Data Science Projects playlist: https://www.youtube.com/watch?v=5Txi0nHIe0o&list=PLZoTAELRMXVNUcr7osiU7CCm8hcaqSzGw
NLP playlist: https://www.youtube.com/watch?v=6ZVf1jnEKGI&list=PLZoTAELRMXVMdJ5sqbCK2LiM0HhQVWNzm
Statistics Playlist: https://www.youtube.com/watch?v=GGZfVeZs_v4&list=PLZoTAELRMXVMhVyr3Ri9IQ-t5QPBtxzJO
Feature Engineering playlist: https://www.youtube.com/watch?v=NgoLMsaZ4HU&list=PLZoTAELRMXVPwYGE2PXD3x0bfKnR0cJjN
Computer Vision playlist: https://www.youtube.com/watch?v=mT34_yu5pbg&list=PLZoTAELRMXVOIBRx0andphYJ7iakSg3Lk
Data Science Interview Question playlist: https://www.youtube.com/watch?v=820Qr4BH0YM&list=PLZoTAELRMXVPkl7oRvzyNnyj1HS4wt2K-
You can buy my book on Finance with Machine Learning and Deep Learning from the below url
amazon url: https://www.amazon.in/Hands-Python-Finance-implementing-strategies/dp/1789346371/ref=sr_1_1?keywords=krish+naik&qid=1560943725&s=gateway&sr=8-1
🙏🙏🙏🙏🙏🙏🙏🙏
YOU JUST NEED TO DO
3 THINGS to support my channel
LIKE
SHARE
&
SUBSCRIBE
TO MY YOUTUBE CHANNEL
detail
{'title': 'Tutorial 2 - Python List and Boolean Variables', 'heatmap': [{'end': 959.058, 'start': 924.7, 'weight': 0.924}], 'summary': 'Tutorial covers python data structures and analysis, including boolean variables, logical operators, list comparison, dictionary, tuples, sets, inbuilt string functions, list manipulation, and inbuilt list functions, providing practical examples and emphasizing their significance in data analysis and machine learning.', 'chapters': [{'end': 47.533, 'segs': [{'end': 47.533, 'src': 'embed', 'start': 1.57, 'weight': 0, 'content': [{'end': 2.31, 'text': 'So, hello all.', 'start': 1.57, 'duration': 0.74}, {'end': 9.834, 'text': 'so we will continue our discussion with respect to Python data structures and in this particular session we will be discussing about boolean variables,', 'start': 2.31, 'duration': 7.524}, {'end': 15.216, 'text': 'boolean and logical operators, list comparison, operator dictionary, tuples and sets.', 'start': 9.834, 'duration': 5.382}, {'end': 26.362, 'text': 'remember, guys, list dictionary sets all play a very, very important role when we are actually doing exploratory data analysis.', 'start': 15.919, 'duration': 10.443}, {'end': 32.543, 'text': 'because remember that in machine learning, algorithms will be reading different types of data from various data sources.', 'start': 26.362, 'duration': 6.181}, {'end': 39.907, 'text': 'and once we read the data sources, we need to perform various statistical analysis to understand or get more insights of that particular data.', 'start': 32.543, 'duration': 7.364}, {'end': 47.533, 'text': 'Because of that, we need we should know how to operate with different data structures, like list dictionaries, tuples, sets,', 'start': 40.607, 'duration': 6.926}], 'summary': 'Discussion on python data structures and their role in exploratory data analysis.', 'duration': 45.963, 'max_score': 1.57, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/GA0u6WM7_Eo/pics/GA0u6WM7_Eo1570.jpg'}], 'start': 1.57, 'title': 'Python data structures and analysis', 'summary': 'Covers boolean variables, logical operators, list comparison, dictionary, tuples, and sets in python data structures, emphasizing their importance in exploratory data analysis and machine learning for statistical analysis.', 'chapters': [{'end': 47.533, 'start': 1.57, 'title': 'Python data structures and analysis', 'summary': 'Covers boolean variables, logical operators, list comparison, dictionary, tuples, and sets in python data structures, emphasizing their importance in exploratory data analysis and machine learning for statistical analysis.', 'duration': 45.963, 'highlights': ['The chapter emphasizes the importance of list, dictionary, and sets in exploratory data analysis and machine learning, where algorithms read different types of data from various sources and perform various statistical analysis to gain insights.', 'The session discusses boolean variables, logical operators, list comparison, dictionary, tuples, and sets in Python data structures.']}], 'duration': 45.963, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/GA0u6WM7_Eo/pics/GA0u6WM7_Eo1570.jpg', 'highlights': ['The chapter emphasizes the importance of list, dictionary, and sets in exploratory data analysis and machine learning, where algorithms read different types of data from various sources and perform various statistical analysis to gain insights.', 'The session discusses boolean variables, logical operators, list comparison, dictionary, tuples, and sets in Python data structures.']}, {'end': 485.966, 'segs': [{'end': 110.49, 'src': 'embed', 'start': 65.909, 'weight': 0, 'content': [{'end': 73.291, 'text': 'okay, so Usually, in order to create a boolean variable, we basically use a function which is called as bool.', 'start': 65.909, 'duration': 7.382}, {'end': 80.634, 'text': 'So bool function, I hope you are familiar with boolean variable in other programming languages also.', 'start': 73.651, 'duration': 6.983}, {'end': 87.117, 'text': 'So here with the help of this boolean function, you can basically create a boolean variable in short.', 'start': 81.294, 'duration': 5.823}, {'end': 88.918, 'text': 'Otherwise, there are two inbuilt function.', 'start': 87.157, 'duration': 1.761}, {'end': 90.959, 'text': 'One is true and one is false.', 'start': 88.998, 'duration': 1.961}, {'end': 94.88, 'text': "After this, I'll also show you different types of logical operations.", 'start': 92.259, 'duration': 2.621}, {'end': 101.1, 'text': 'Whenever you are working with boolean variable, that basically means your output is either true or false.', 'start': 96.496, 'duration': 4.604}, {'end': 103.623, 'text': 'So I printed over here true and false.', 'start': 101.981, 'duration': 1.642}, {'end': 107.787, 'text': 'If I see the type of this true, you can see that it is basically a boolean.', 'start': 103.663, 'duration': 4.124}, {'end': 110.49, 'text': 'If you see the type of false, it is basically a boolean.', 'start': 108.227, 'duration': 2.263}], 'summary': 'Creating boolean variables using bool function and inbuilt true and false functions, demonstrating logical operations.', 'duration': 44.581, 'max_score': 65.909, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/GA0u6WM7_Eo/pics/GA0u6WM7_Eo65909.jpg'}, {'end': 311.32, 'src': 'embed', 'start': 282.915, 'weight': 3, 'content': [{'end': 285.016, 'text': 'Okay, so it is basically giving me true.', 'start': 282.915, 'duration': 2.101}, {'end': 288.337, 'text': 'It is the combination of both alphabet and new numbers.', 'start': 285.276, 'duration': 3.061}, {'end': 295.901, 'text': 'Okay, After this, you still have different, different inbuilt functions, like is alphabet, is desert, is title?', 'start': 288.477, 'duration': 7.424}, {'end': 301.723, 'text': 'This title says that if a string contains a title words, what does this title word basically indicate?', 'start': 295.901, 'duration': 5.822}, {'end': 303.044, 'text': 'Okay, Let me just execute this.', 'start': 301.763, 'duration': 1.281}, {'end': 306.454, 'text': 'Just execute it separately over here and show it to you.', 'start': 304.011, 'duration': 2.443}, {'end': 307.796, 'text': 'It is showing me true.', 'start': 306.835, 'duration': 0.961}, {'end': 311.32, 'text': 'The reason it is showing me true because it has a title word.', 'start': 308.377, 'duration': 2.943}], 'summary': 'The code executed successfully, indicating a true result for the presence of a title word.', 'duration': 28.405, 'max_score': 282.915, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/GA0u6WM7_Eo/pics/GA0u6WM7_Eo282915.jpg'}], 'start': 47.533, 'title': 'Boolean variables and inbuilt string functions in python', 'summary': 'Covers the creation of boolean variables using the bool function, logical operations, and inbuilt string functions in python, including is alphanumeric, is title, ends with, starts with, and logical operations like and and or, with examples and outputs provided.', 'chapters': [{'end': 110.49, 'start': 47.533, 'title': 'Boolean variables and logical operations', 'summary': 'Covers the creation of boolean variables using the bool function and the two constant objects, true and false, and explains logical operations, emphasizing that boolean variables output either true or false.', 'duration': 62.957, 'highlights': ['Boolean variables are created using the bool function or the two inbuilt functions, true and false.', 'The chapter explains that boolean variables represent truth and their output is either true or false.', 'The types of logical operations performed with boolean variables are discussed, emphasizing that the output is either true or false.']}, {'end': 485.966, 'start': 110.87, 'title': 'Python inbuilt string functions', 'summary': 'Covers the usage of various inbuilt string functions in python, including is alphanumeric, is title, ends with, starts with, and logical operations like and and or, with examples and outputs provided.', 'duration': 375.096, 'highlights': ['The chapter covers the usage of various inbuilt string functions in Python, including is alphanumeric, is title, ends with, starts with, and logical operations like AND and OR. The transcript provides an overview of the inbuilt string functions and logical operations in Python, emphasizing the usage of functions such as is alphanumeric, is title, ends with, and starts with, as well as logical operations like AND and OR.', 'Demonstration of specific inbuilt string functions such as is alphanumeric, is title, ends with, and starts with, with corresponding outputs (true/false) and explanations. The transcript includes practical demonstrations of specific inbuilt string functions, such as is alphanumeric, is title, ends with, and starts with, with examples and outputs provided, offering clear explanations of their functionality.', 'Explanation of logical operations like AND and OR with examples and outputs, highlighting their behavior with true and false values. The chapter explains logical operations like AND and OR, providing examples and outputs to illustrate their behavior with true and false values, enhancing understanding of these operations in Python.']}], 'duration': 438.433, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/GA0u6WM7_Eo/pics/GA0u6WM7_Eo47533.jpg', 'highlights': ['Boolean variables are created using the bool function or the two inbuilt functions, true and false.', 'The chapter explains that boolean variables represent truth and their output is either true or false.', 'The types of logical operations performed with boolean variables are discussed, emphasizing that the output is either true or false.', 'The chapter covers the usage of various inbuilt string functions in Python, including is alphanumeric, is title, ends with, starts with, and logical operations like AND and OR.', 'Demonstration of specific inbuilt string functions such as is alphanumeric, is title, ends with, and starts with, with corresponding outputs (true/false) and explanations.', 'Explanation of logical operations like AND and OR with examples and outputs, highlighting their behavior with true and false values.']}, {'end': 1026.029, 'segs': [{'end': 537.689, 'src': 'embed', 'start': 503.878, 'weight': 0, 'content': [{'end': 505.98, 'text': 'Again, all this material will also be provided in the GitHub.', 'start': 503.878, 'duration': 2.102}, {'end': 509.255, 'text': 'Now the next thing that we are going to discuss is list.', 'start': 506.874, 'duration': 2.381}, {'end': 513.477, 'text': 'List is one of the most important data structures that we usually use in Python.', 'start': 509.775, 'duration': 3.702}, {'end': 517.779, 'text': 'So list is a very important data structures we usually use in Python.', 'start': 514.256, 'duration': 3.523}, {'end': 524.682, 'text': 'And over here, the definition is that list is a data structure in Python that is mutable, changeable, ordered a sequence of elements.', 'start': 518.119, 'duration': 6.563}, {'end': 528.884, 'text': 'Each element or value that is inside a list is called as an item.', 'start': 525.322, 'duration': 3.562}, {'end': 531.466, 'text': 'So list is basically a collection of different items.', 'start': 529.264, 'duration': 2.202}, {'end': 537.689, 'text': 'Just as strings are defined as character between the course, lists are defined by using values inside the square brackets.', 'start': 531.926, 'duration': 5.763}], 'summary': 'List is a key data structure in python, defined as mutable, changeable, and ordered sequence of elements.', 'duration': 33.811, 'max_score': 503.878, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/GA0u6WM7_Eo/pics/GA0u6WM7_Eo503878.jpg'}, {'end': 640.483, 'src': 'embed', 'start': 597.669, 'weight': 3, 'content': [{'end': 602.171, 'text': 'so once i execute this and if i see this, this is basically my type of list.', 'start': 597.669, 'duration': 4.502}, {'end': 609.051, 'text': 'now, If I also apply some length function, there is again an inbuilt function inside Python.', 'start': 602.171, 'duration': 6.88}, {'end': 613.995, 'text': 'If I write length of list, it is basically showing me six because they are six items.', 'start': 609.131, 'duration': 4.864}, {'end': 616.798, 'text': 'I basically have six items inside this.', 'start': 614.536, 'duration': 2.262}, {'end': 619.4, 'text': 'You can count it and length basically does that only.', 'start': 616.838, 'duration': 2.562}, {'end': 623.54, 'text': 'This is the way how you can basically create a list.', 'start': 620.698, 'duration': 2.842}, {'end': 624.661, 'text': 'There are various ways again.', 'start': 623.62, 'duration': 1.041}, {'end': 630.805, 'text': 'Either you can hard code it, either you can use this inbuilt function and then you can basically append to it.', 'start': 625.541, 'duration': 5.264}, {'end': 633.947, 'text': 'Now let us go and see some of the inbuilt function inside list.', 'start': 631.185, 'duration': 2.762}, {'end': 636.889, 'text': "One of the inbuilt function I'm going to use is something called as append.", 'start': 634.207, 'duration': 2.682}, {'end': 640.483, 'text': 'Append helps you to add more items inside the list.', 'start': 637.841, 'duration': 2.642}], 'summary': "Executing code creates a list of six items; 'append' function adds more items.", 'duration': 42.814, 'max_score': 597.669, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/GA0u6WM7_Eo/pics/GA0u6WM7_Eo597669.jpg'}, {'end': 691.712, 'src': 'embed', 'start': 664.87, 'weight': 6, 'content': [{'end': 670.113, 'text': 'you can basically append in 0th index or first index or before that.', 'start': 664.87, 'duration': 5.243}, {'end': 677.924, 'text': 'before that, guys, I also want to show you that how an indexing is basically done in list, indexing list.', 'start': 670.113, 'duration': 7.811}, {'end': 681.806, 'text': "okay. so in order to do the indexing, what I'll do is that I can write.", 'start': 677.924, 'duration': 3.882}, {'end': 685.268, 'text': 'suppose I want to get the hundred element.', 'start': 681.806, 'duration': 3.462}, {'end': 688.09, 'text': 'remember, indexes usually start from zero.', 'start': 685.268, 'duration': 2.822}, {'end': 691.712, 'text': 'so mathematics is in zero, chemistry is in one, two, okay.', 'start': 688.09, 'duration': 3.622}], 'summary': 'Demonstrates list indexing and appending at 0th and 1st index.', 'duration': 26.842, 'max_score': 664.87, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/GA0u6WM7_Eo/pics/GA0u6WM7_Eo664870.jpg'}, {'end': 748.475, 'src': 'embed', 'start': 718.507, 'weight': 7, 'content': [{'end': 722.709, 'text': 'Apart from this indexing can also be done with the range of values.', 'start': 718.507, 'duration': 4.202}, {'end': 730.47, 'text': 'Now let me just show you, suppose I want the elements, I want to pick up the elements from chemistry till the end.', 'start': 723.888, 'duration': 6.582}, {'end': 736.972, 'text': 'Suppose I want to pick up all the elements, I will write list of colon, just see okay.', 'start': 730.49, 'duration': 6.482}, {'end': 741.373, 'text': 'If I give colon, it is basically going to pick up all the elements.', 'start': 737.472, 'duration': 3.901}, {'end': 748.475, 'text': 'Now remember there is one left empty position before this colon and one right as an empty position.', 'start': 741.393, 'duration': 7.082}], 'summary': 'Indexing can be done with range of values, e.g. picking elements from chemistry to end.', 'duration': 29.968, 'max_score': 718.507, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/GA0u6WM7_Eo/pics/GA0u6WM7_Eo718507.jpg'}, {'end': 959.058, 'src': 'heatmap', 'start': 913.971, 'weight': 8, 'content': [{'end': 919.956, 'text': "the second parameter is basically the value or the value that you're going to insert inside the List itself.", 'start': 913.971, 'duration': 5.985}, {'end': 924.64, 'text': 'So I have given suppose I have given Second index in the second index.', 'start': 920.376, 'duration': 4.264}, {'end': 934.308, 'text': 'I want to insert the element night, Put it and if I go and see the list, you can see that in my second index, night has been added okay.', 'start': 924.7, 'duration': 9.608}, {'end': 938.091, 'text': 'and similarly you can add at any index whatever you want.', 'start': 934.308, 'duration': 3.783}, {'end': 945.229, 'text': 'and Again, when I do this list, dot, append of hello world, and if I go and see the list, you can see again It is created a nest.', 'start': 938.091, 'duration': 7.138}, {'end': 949.712, 'text': 'I have an another inbuilt function which is called as extent.', 'start': 945.349, 'duration': 4.363}, {'end': 959.058, 'text': 'Now for extent, what I will do is that let me just show you, suppose, Let me just once again, Let me just create a fresh list,', 'start': 949.712, 'duration': 9.346}], 'summary': 'Demonstration of inserting and extending elements in a list.', 'duration': 45.087, 'max_score': 913.971, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/GA0u6WM7_Eo/pics/GA0u6WM7_Eo913971.jpg'}, {'end': 1004.371, 'src': 'embed', 'start': 979.122, 'weight': 9, 'content': [{'end': 984.244, 'text': 'Which is basically saying that extend list by appending elements from the table right?', 'start': 979.122, 'duration': 5.122}, {'end': 988.026, 'text': 'So all this information is basically given over here.', 'start': 984.604, 'duration': 3.422}, {'end': 994.287, 'text': 'You just have to use it and suppose I give multiple elements over here and i give like eight comma nine.', 'start': 988.286, 'duration': 6.001}, {'end': 995.988, 'text': 'okay, eight comma nine.', 'start': 994.287, 'duration': 1.701}, {'end': 999.469, 'text': "now, here you can see that i'm adding multiple values inside the list.", 'start': 995.988, 'duration': 3.481}, {'end': 1002.851, 'text': "it's not just a single value in the append way.", 'start': 999.469, 'duration': 3.382}, {'end': 1004.371, 'text': 'when i try to add it.', 'start': 1002.851, 'duration': 1.52}], 'summary': 'Extending a list by appending multiple elements from a table.', 'duration': 25.249, 'max_score': 979.122, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/GA0u6WM7_Eo/pics/GA0u6WM7_Eo979122.jpg'}], 'start': 486.026, 'title': 'Python lists and manipulation', 'summary': 'Introduces the list data structure in python, emphasizing its importance and characteristics, with examples of creating and manipulating lists. it covers indexing, manipulation methods like append, insert, and extend, and provides practice material on github.', 'chapters': [{'end': 597.669, 'start': 486.026, 'title': 'Introduction to python list data structure', 'summary': 'Introduces the list data structure in python, emphasizing its importance and characteristics, with examples of creating and manipulating lists, and highlighting its mutable, changeable, and ordered nature, along with the provision of material on github for practice.', 'duration': 111.643, 'highlights': ['List is a mutable, changeable, and ordered data structure in Python, serving as a collection of different items, and can be created using values inside square brackets. The list data structure in Python is mutable, changeable, and ordered, serving as a collection of different items. It can be created using values inside square brackets.', 'The chapter emphasizes the importance of the list data structure in Python, highlighting its versatile use and significance in exploratory data analysis. The list data structure is highlighted as one of the most important data structures in Python, essential for exploratory data analysis and versatile use.', 'Material on list data structure and exploratory data analysis will be provided on GitHub for practice and reference. Material on list data structure and exploratory data analysis will be provided on GitHub for practice and reference.', 'Examples of creating an empty list and adding elements to a list, using both manual addition and the built-in list function, are demonstrated. Examples of creating an empty list and adding elements to a list, using both manual addition and the built-in list function, are demonstrated.']}, {'end': 822.078, 'start': 597.669, 'title': 'Python list indexing', 'summary': 'Covers creating and manipulating lists in python, including using the length function to determine the number of items in a list, and the append function to add items at the end of the list. it also explains indexing in lists and demonstrates how to retrieve specific elements using various indexing techniques.', 'duration': 224.409, 'highlights': ['The length function in Python can be used to determine the number of items in a list, with an example showing a list containing six items.', "The append function in Python adds items to the end of a list, demonstrated with the addition of a new item 'crush' to the end of the list.", 'Indexing in lists is explained, with examples showing how to retrieve specific elements using their index positions, such as retrieving the 100th element or the element at index 3.', 'Demonstration of using indexing with a range of values to retrieve specific elements from a list, including picking all elements from a specified index till the end and retrieving a range of values between specific indices.']}, {'end': 1026.029, 'start': 822.078, 'title': 'List manipulation in python', 'summary': 'Discusses various methods for list manipulation in python, including append, insert, and extend, highlighting how these methods differ in adding elements to the list and avoiding nested list creation.', 'duration': 203.951, 'highlights': ["The insert function in Python allows adding elements at a specific index in a list, such as adding 'night' at the second index, demonstrating precise element insertion.", "The extend function in Python adds multiple values to a list without creating nested lists, exemplified by adding '8' and '9' as separate elements to the list.", "The append function in Python adds elements to the end of a list, but when adding multiple elements, it creates a nested list, as observed when adding 'hello world'."]}], 'duration': 540.003, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/GA0u6WM7_Eo/pics/GA0u6WM7_Eo486026.jpg', 'highlights': ['The list data structure in Python is mutable, changeable, and ordered, serving as a collection of different items. It can be created using values inside square brackets.', 'The chapter emphasizes the importance of the list data structure in Python, highlighting its versatile use and significance in exploratory data analysis.', 'Material on list data structure and exploratory data analysis will be provided on GitHub for practice and reference.', 'Examples of creating an empty list and adding elements to a list, using both manual addition and the built-in list function, are demonstrated.', 'The length function in Python can be used to determine the number of items in a list, with an example showing a list containing six items.', "The append function in Python adds items to the end of a list, demonstrated with the addition of a new item 'crush' to the end of the list.", 'Indexing in lists is explained, with examples showing how to retrieve specific elements using their index positions, such as retrieving the 100th element or the element at index 3.', 'Demonstration of using indexing with a range of values to retrieve specific elements from a list, including picking all elements from a specified index till the end and retrieving a range of values between specific indices.', "The insert function in Python allows adding elements at a specific index in a list, such as adding 'night' at the second index, demonstrating precise element insertion.", "The extend function in Python adds multiple values to a list without creating nested lists, exemplified by adding '8' and '9' as separate elements to the list.", "The append function in Python adds elements to the end of a list, but when adding multiple elements, it creates a nested list, as observed when adding 'hello world'."]}, {'end': 1307.111, 'segs': [{'end': 1073.658, 'src': 'embed', 'start': 1045.704, 'weight': 0, 'content': [{'end': 1051.568, 'text': 'what it does is that it tries to find, it adds all the numbers inside this list and it will give us the output.', 'start': 1045.704, 'duration': 5.864}, {'end': 1053.849, 'text': 'and similarly i have inbuilt function like pop.', 'start': 1051.568, 'duration': 2.281}, {'end': 1056.99, 'text': 'pop basically means that it will try to pick up the element.', 'start': 1053.849, 'duration': 3.141}, {'end': 1059.131, 'text': 'uh, from the specific index.', 'start': 1056.99, 'duration': 2.141}, {'end': 1065.114, 'text': "okay, by default, if i don't give any value, it will pick up the last, It will pick out or it will remove the last element.", 'start': 1059.131, 'duration': 5.983}, {'end': 1067.695, 'text': 'Okay, and that is how, if you remember stacks.', 'start': 1065.114, 'duration': 2.581}, {'end': 1073.658, 'text': 'right, if you, if you are familiar with stacks in your engineering days, just remove the.', 'start': 1067.695, 'duration': 5.963}], 'summary': "Explains adding numbers in a list and using 'pop' to remove elements.", 'duration': 27.954, 'max_score': 1045.704, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/GA0u6WM7_Eo/pics/GA0u6WM7_Eo1045704.jpg'}, {'end': 1126.381, 'src': 'embed', 'start': 1085.945, 'weight': 1, 'content': [{'end': 1090.948, 'text': 'So this basically is remove the last element that is present inside the list.', 'start': 1085.945, 'duration': 5.003}, {'end': 1094.389, 'text': 'If I go and execute this, this is my 1, 2, 3, 4.', 'start': 1091.488, 'duration': 2.901}, {'end': 1099.393, 'text': "And after this, when I see list.pop of 0, now suppose I'm giving the index.", 'start': 1094.39, 'duration': 5.003}, {'end': 1102.375, 'text': 'This index element should be removed.', 'start': 1100.454, 'duration': 1.921}, {'end': 1106.357, 'text': 'So if I write list.pop of 0, this is basically removing the first element.', 'start': 1102.475, 'duration': 3.882}, {'end': 1107.378, 'text': 'So here it is.', 'start': 1106.417, 'duration': 0.961}, {'end': 1109.699, 'text': 'That the first element has been removed.', 'start': 1108.259, 'duration': 1.44}, {'end': 1113.302, 'text': 'Similarly, you can again play with different things.', 'start': 1110.7, 'duration': 2.602}, {'end': 1117.654, 'text': 'Now let us see some inbuilt functions inside list.', 'start': 1114.551, 'duration': 3.103}, {'end': 1119.675, 'text': 'So there is a function called as count.', 'start': 1118.034, 'duration': 1.641}, {'end': 1126.381, 'text': 'If you want to go and see what does this count does, it basically calculates the total occurrences of a given element of a list.', 'start': 1120.236, 'duration': 6.145}], 'summary': 'The tutorial explains how to remove elements from a list using list.pop and introduces the count function for calculating occurrences.', 'duration': 40.436, 'max_score': 1085.945, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/GA0u6WM7_Eo/pics/GA0u6WM7_Eo1085945.jpg'}, {'end': 1179.011, 'src': 'embed', 'start': 1147.379, 'weight': 3, 'content': [{'end': 1150.54, 'text': 'there is one more inbuilt function which is called as index.', 'start': 1147.379, 'duration': 3.161}, {'end': 1154.022, 'text': 'index basically says that returns the index of the first occurrence.', 'start': 1150.54, 'duration': 3.482}, {'end': 1158.693, 'text': 'Okay, and start and end index are not necessary parameters.', 'start': 1154.77, 'duration': 3.923}, {'end': 1163.458, 'text': 'So over here you can see that if I go and press shift tab I just have to give the value.', 'start': 1158.734, 'duration': 4.724}, {'end': 1172.646, 'text': 'Okay, suppose, if I give the value inside this particular list and I tell them to find out, okay, what is the element that is present, you know,', 'start': 1163.858, 'duration': 8.788}, {'end': 1173.787, 'text': 'in that particular index?', 'start': 1172.646, 'duration': 1.141}, {'end': 1179.011, 'text': 'So basically when from this particular list where is one present at which index it is present.', 'start': 1173.827, 'duration': 5.184}], 'summary': "The 'index' function returns the first occurrence index of a given element in a list.", 'duration': 31.632, 'max_score': 1147.379, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/GA0u6WM7_Eo/pics/GA0u6WM7_Eo1147379.jpg'}, {'end': 1289.243, 'src': 'embed', 'start': 1262.935, 'weight': 4, 'content': [{'end': 1268.299, 'text': 'you will be considering, you will be thinking that all the elements will be multiplied by two, but it will not happen.', 'start': 1262.935, 'duration': 5.364}, {'end': 1268.879, 'text': 'in that way.', 'start': 1268.299, 'duration': 0.58}, {'end': 1271.321, 'text': 'the whole list will get appended again.', 'start': 1268.879, 'duration': 2.442}, {'end': 1275.504, 'text': 'okay. similarly, if you say multiplied by five, that basically means five times.', 'start': 1271.321, 'duration': 4.183}, {'end': 1276.505, 'text': 'it will get appended.', 'start': 1275.504, 'duration': 1.001}, {'end': 1280.168, 'text': 'okay, that is the major thing over here.', 'start': 1276.505, 'duration': 3.663}, {'end': 1284.251, 'text': 'okay, so you should also know some of the operations that are actually done over here.', 'start': 1280.168, 'duration': 4.083}, {'end': 1289.243, 'text': 'again is all very much, very, very much necessary in exploratory data analysis.', 'start': 1284.251, 'duration': 4.992}], 'summary': 'In exploratory data analysis, understanding operations like multiplication and appending is essential.', 'duration': 26.308, 'max_score': 1262.935, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/GA0u6WM7_Eo/pics/GA0u6WM7_Eo1262935.jpg'}], 'start': 1027.13, 'title': 'Python list inbuilt functions', 'summary': "Covers various list operations and inbuilt functions in python, including 'sum' function, 'pop' function and inbuilt list functions such as count, length, index, min, max, and list multiplication, with examples and practical applications.", 'chapters': [{'end': 1109.699, 'start': 1027.13, 'title': 'List operations and inbuilt functions in python', 'summary': "Covers various list operations and inbuilt functions in python, including the 'sum' function to add all numbers in a list and the 'pop' function to remove elements at specific indices.", 'duration': 82.569, 'highlights': ["The 'sum' function adds all numbers in a list and provides the output.", "The 'pop' function removes the last element by default, and specifying an index removes the element at that index.", "In a list, the 'pop' function removes the last element by default, and specifying an index removes the element at that index."]}, {'end': 1307.111, 'start': 1110.7, 'title': 'Python list inbuilt functions', 'summary': 'Covers inbuilt list functions in python, such as count, length, index, min, max, and list multiplication, emphasizing their usage and relevance in data analysis with examples and practical applications.', 'duration': 196.411, 'highlights': ['The count function calculates the total occurrences of a given element in a list, e.g., list.count(1) returns 2 when there are two occurrences of the value 1. The count function in Python calculates the total occurrences of a given element in a list, providing a practical example of how list.count(1) returns 2 when there are two occurrences of the value 1.', 'The index function returns the index of the first occurrence of a specified element in a list, allowing optional parameters for start and end index. The index function in Python returns the index of the first occurrence of a specified element in a list, with the capability to specify start and end indexes for the search.', 'The chapter also discusses list multiplication, where multiplying the list by a number appends the list elements multiple times, providing a crucial insight into list manipulation. The discussion of list multiplication provides insight into how multiplying a list by a number appends the list elements multiple times, offering practical understanding of list manipulation.']}], 'duration': 279.981, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/GA0u6WM7_Eo/pics/GA0u6WM7_Eo1027130.jpg', 'highlights': ["The 'sum' function adds all numbers in a list and provides the output.", 'The count function calculates the total occurrences of a given element in a list, e.g., list.count(1) returns 2 when there are two occurrences of the value 1.', "The 'pop' function removes the last element by default, and specifying an index removes the element at that index.", 'The index function returns the index of the first occurrence of a specified element in a list, allowing optional parameters for start and end index.', 'The chapter also discusses list multiplication, where multiplying the list by a number appends the list elements multiple times, providing a crucial insight into list manipulation.']}], 'highlights': ['The chapter emphasizes the importance of list, dictionary, and sets in exploratory data analysis and machine learning, where algorithms read different types of data from various sources and perform various statistical analysis to gain insights.', 'The session discusses boolean variables, logical operators, list comparison, dictionary, tuples, and sets in Python data structures.', 'The list data structure in Python is mutable, changeable, and ordered, serving as a collection of different items. It can be created using values inside square brackets.', 'The chapter emphasizes the importance of the list data structure in Python, highlighting its versatile use and significance in exploratory data analysis.', 'Demonstration of specific inbuilt string functions such as is alphanumeric, is title, ends with, and starts with, with corresponding outputs (true/false) and explanations.', 'The types of logical operations performed with boolean variables are discussed, emphasizing that the output is either true or false.', 'The chapter covers the usage of various inbuilt string functions in Python, including is alphanumeric, is title, ends with, starts with, and logical operations like AND and OR.', "The 'sum' function adds all numbers in a list and provides the output.", 'The count function calculates the total occurrences of a given element in a list, e.g., list.count(1) returns 2 when there are two occurrences of the value 1.', "The 'pop' function removes the last element by default, and specifying an index removes the element at that index."]}