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
En esta página del sitio puede ver el video en línea Sequential Data Type: | Lists | Tuples | de Duración hora minuto segunda en buena calidad , que subió el usuario Code with Jon 06 diciembre 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 190 veces y le gustó 9 a los espectadores. Disfruta viendo!