Skip to content
1 hidden cell
Python Data Science Toolbox (Part 2)
Python Data Science Toolbox (Part 2)
Run the hidden code cell below to import the data used in this course.
1 hidden cell
Take Notes
Add notes about the concepts you've learned and code cells with code you want to keep.
Add your notes here
# Add your code snippets hereExplore Datasets
Use the DataFrames imported in the first cell to explore the data and practice your skills!
- Create a
zipobject containing theCountryNameandCountryCodecolumns inworld_ind. Unpack the resultingzipobject and print the tuple values. - Use a list comprehension to extract the first 25 characters of the
textcolumn of thetweetsDataFrame provided that the tweet is not a retweet (i.e., starts with "RT"). - Create an iterable reader object so that you can use
next()to readdatasets/world_ind_pop_data.csvin chunks of 20.