This video highlights Python Sequential Data Types: Python Lists and Python Tuples
A sequence is a group of items with a deterministic ordering:
The order in which we put the items is the order in which we get the items out
Lists and Tuples are used to store multiple ordered items in a single variable
The difference between lists and tuples is that lists are mutable (elements in a list can be modified) while a tuple is immutable (elements in a tuple cannot be modified)
To modify a tuple, change the tuple into a list, then modify the list and change it back into a tuple
After watching this video, you’ll know how to:
Create Python Lists and Tuples
How to subset lists and lists of lists (list indexing)
List slicing
List manipulation
Adding list items
Removing list items
How to sort list items alphanumerically
Copy a list the right way
How to use inbuilt list functions and methods
How to loop lists with a for loop and a while loop
This video is perfect for beginners interested in learning more about Python for Data Analysis and Data Science.
#pythondatatypes #pythonlists #pythontuples #sequentialdatatypes #pythonprogramming
In questa pagina del sito puoi guardare il video online Sequential Data Type: | Lists | Tuples | della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Code with Jon 06 dicembre 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 190 volte e gli è piaciuto 9 spettatori. Buona visione!