Zip(*zipped) means "feed Just about every element of zipped as an argument to zip". zip is comparable to transposing a matrix in that executing it again will go away you back where you started off. Another good way to know how zip will work is by employing your individual version, https://python-yfinance60258.blazingblog.com/22477492/python-development-on-mac-for-dummies