Friday, December 31, 2021

Data Science Toolbox : Python

Leave a Comment
 Data Science Toolbox : Python  This is part of my learning journey of data science with python through Datacamp. Using zip# Create a list of tuples: mutant_datamutant_data = list(zip(mutants,aliases,powers))# Print the list of tuplesprint(mutant_data)# Create a zip object using the three lists: mutant_zipmutant_zip = zip(mutants,aliases,powers)# Print the zip objectprint(mutant_zip)# Unpack the zip object and print the tuple valuesfor value1, value2, value3 in mutant_zip:    print(value1, value2, value3)Output[('charles...
Read More