Python Collections Library deque - Intermediate Python Tutorial

Опубликовано: 25 Апрель 2022
на канале: datagy
1,293
43

Learn how to use the Python Collections deque to make managing double-ended lists easier! The collections module provides useful functions and classes to make working with data collections easier and more intuitive.

✅ Check out my FREE 30-day Python course: https://datagy.io/learn-python-in-30-...

----------------------------------------------------------
0:00 Introductions
1:05 What are Deques in Python
1:50 Comparing Python Lists to Deques
3:08 Creating and Using Deques in Python Collections
4:10 Appending to Front of List Using Deques in Python
4:39 Python Collections Deque Methods
6:39 Max Lengths of Python Deques
8:37 Accessing Items in Python Deques
9:50 Comparing Speeds of Lists and Deques in Python
12:26 Rotating Python Collection Deque Items
13:38 Additional Deque Functionality in Python
15:16 Conclusion
----------------------------------------------------------

✅ Follow me on other platforms:
Website: https://datagy.io
Twitter:   / datagyio  
Mailing List: https://mailchi.mp/f6a58f2d73d0/datag... (and get a FREE Pandas tip and tricks book and a FREE Guide to SQL)