How to Make a List of Tuples in Python Using zip and zip_longest

Опубликовано: 28 Январь 2022
на канале: Sean MacKenzie Data Engineering
236
10

In this episode, we're going to look at how to make a list of tuples in Python, first using the zip function, and then using zip_longest from itertools. Lists of tuples can be very handy for things like parameter lists for calling a series of SQL statements. Let's go ahead and look at how to make a list of tuples in Python!

Interested in transforming your career or finding your next gig?
https://system.billzone.com/careers.html

Want my team to do a project for you? Let's get to it!
https://system.billzone.com/smdeproje...

Want to get access to premium content made just for you and have a chat with me? Find me on Patreon :

  / mackenziedataengineering  

Demo of my BZ RDP Cloaker:
https://www.patreon.com/posts/how-to-...



Want to work with me 1:1? Contact me today and book your free 20 min consultation!

Contact form you can find at http://www.mackenziemackenzie.com/

Follow me on social media:
  / mackenziedataanalytics  
  / seamacke  
  / seamacke  
  / seamacke  
  / psmackenzie  

Get Microsoft Office including Access:
https://click.linksynergy.com/fs-bin/...

Got a YouTube Channel? I use TubeBuddy, it is awesome. Give it a try:
https://www.tubebuddy.com/seanmackenz...


#python #dataengineering

   • How to Make a List of Tuples in Pytho...