June 2018
Beginner
508 pages
13h 8m
English
Let's start cleaning the data:
#8rough_data = get_data(users)rough_data[:2] # let's take a peek
We simulate fetching the data from a source and then inspect it. The Notebook is the perfect tool for inspecting your steps. You can vary the granularity to your needs. The first item in rough_data looks like this:
{'user': '{"username": "samuel62", "name": "Tonya Lucas", "gender": "F", "email": "anthonyrobinson@robbins.biz", "age": 27, "address": "PSC 8934, Box 4049\\nAPO AA 43073"}', 'campaigns': [{'cmp_name': 'GRZ_20171018_20171116_35-55_B_EUR', 'cmp_bgt': 999613, 'cmp_spent': 43168, 'cmp_clicks': 35603, 'cmp_impr': 500001}, ... {'cmp_name': 'BYU_20171122_20181016_30-45_B_USD', 'cmp_bgt': 561058, 'cmp_spent': 472283, 'cmp_clicks': ...Read now
Unlock full access