July 2019
Beginner to intermediate
350 pages
8h 13m
English
We have needed to extract lines of data throughout this book. You may have noticed that, in most of these examples, we used a dataset (a Python list object that was used to collect data) that was appended with various fields in a Python list, as shown in the following code (collected from various examples of this book):
dataSet.append([year,month,day,game_date,team1,team1_score,team2,team2_score,game_status])..dataSet.append([title,price,availability,image.replace('../../../..',baseUrl),rating.replace('star-rating ','')])...dataSet.append([link, atype, adate, title, excerpt,",".join(categories)])...dataSet.append([titleLarge, title, price, stock, image, starRating.replace('star-rating ', ''), url])
With the availability of ...
Read now
Unlock full access