Working with Tuples in Python
👉🏻 Download Our Free Data Science Career Guide: https://bit.ly/3h5HVgl
👉🏻 FREE MONTH! Get full access to our newly redesigned platform and all our courses (18th October - 18th November): https://bit.ly/2Q2eBLU
Tuples are another type of data sequences but differently to lists. They are immutable. Tuples cannot be changed or modified. You cannot append or delete elements.
The syntax that indicates you are having a tuple and not a list is that the tuples elements are placed within parentheses and not brackets.
By the way the tuple is the default sequence type in Python. So if I enlist three values here the computer will perceive the new variable as a tuple. We could also say that three values will be packed into a tuple. For the same reason we can assign a number of values to the same number of variables. Do you remember we went through that a few lectures ago? On the left side of the Equality sign we just added a tuple of variables and on the right a tuple of values!
► Consider hitting the SUBSCRIBE button if you LIKE the content: https://www.youtube.com/c/365DataScience?sub_confirmation=1
► VISIT our website: https://bit.ly/365ds
🤝 Connect with us LinkedIn: https://www.linkedin.com/company/365datascience/
365 Data Science is an online educational career website that offers the incredible opportunity to find your way into the data science world no matter your previous knowledge and experience. We have prepared numerous courses that suit the needs of aspiring BI analysts, Data analysts and Data scientists.
We at 365 Data Science are committed educators who believe that curiosity should not be hindered by inability to access good learning resources. This is why we focus all our efforts on creating high-quality educational content which anyone can access online.
Check out our Data Science Career guides: https://www.youtube.com/playlist?list=PLaFfQroTgZnyQFq4nUfb-w2vEopN3ULMb
#Python #Tuples #Finance
Видео Working with Tuples in Python канала 365 Data Science
👉🏻 FREE MONTH! Get full access to our newly redesigned platform and all our courses (18th October - 18th November): https://bit.ly/2Q2eBLU
Tuples are another type of data sequences but differently to lists. They are immutable. Tuples cannot be changed or modified. You cannot append or delete elements.
The syntax that indicates you are having a tuple and not a list is that the tuples elements are placed within parentheses and not brackets.
By the way the tuple is the default sequence type in Python. So if I enlist three values here the computer will perceive the new variable as a tuple. We could also say that three values will be packed into a tuple. For the same reason we can assign a number of values to the same number of variables. Do you remember we went through that a few lectures ago? On the left side of the Equality sign we just added a tuple of variables and on the right a tuple of values!
► Consider hitting the SUBSCRIBE button if you LIKE the content: https://www.youtube.com/c/365DataScience?sub_confirmation=1
► VISIT our website: https://bit.ly/365ds
🤝 Connect with us LinkedIn: https://www.linkedin.com/company/365datascience/
365 Data Science is an online educational career website that offers the incredible opportunity to find your way into the data science world no matter your previous knowledge and experience. We have prepared numerous courses that suit the needs of aspiring BI analysts, Data analysts and Data scientists.
We at 365 Data Science are committed educators who believe that curiosity should not be hindered by inability to access good learning resources. This is why we focus all our efforts on creating high-quality educational content which anyone can access online.
Check out our Data Science Career guides: https://www.youtube.com/playlist?list=PLaFfQroTgZnyQFq4nUfb-w2vEopN3ULMb
#Python #Tuples #Finance
Видео Working with Tuples in Python канала 365 Data Science
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Recommender Systems in the Medical Industry with Alex | 365 Data Use CasesJoins in Tableau: Choose the correct join typeVLOOKUP and MATCH another useful functions combination [Advanced Excel]The ELIF keyword [Python Fundamentals]Data Science & Statistics: Creating a matrix in R FASTERData frames in R - Exporting data in RData Science & Statistics: Indexing an element from a matrixHow to make a data check in Tableau: A quick data check is better than no data check365 Data Science ReviewData Science and Machine Vision with Bernard Marr | 365 Data Use CasesData frames in R - Transforming data PART IIData Science & Statistics: Matrix operations in RData Science & Statistics: Matrix recycling in RRelational Database EssentialsPython Tutorial for Beginners: Introduction to Programming | Install Python and Jupyter NotebookData Science & Statistics: Matrix arithmetic in R365 Data Science Online ProgramData Science & Statistics: Creating a Matrix in RData frames in R - Getting a sense of your dataIntroducing 365 Card Collections: Celebrate the Pioneers of Science